equals.lua 594 B

12345678910111213141516171819202122232425262728
  1. return {
  2. summary = 'Check if a quaternion equals another quaternion.',
  3. description = 'Returns whether a quaternion is approximately equal to another quaternion.',
  4. arguments = {
  5. r = {
  6. type = 'Quat',
  7. description = 'The other quaternion.'
  8. }
  9. },
  10. returns = {
  11. equal = {
  12. type = 'boolean',
  13. description = 'Whether the 2 quaternions approximately equal each other.'
  14. }
  15. },
  16. variants = {
  17. {
  18. arguments = { 'r' },
  19. returns = { 'equal' }
  20. }
  21. },
  22. related = {
  23. 'Vec2:equals',
  24. 'Vec3:equals',
  25. 'Vec4:equals',
  26. 'Mat4:equals'
  27. }
  28. }