| 1234567891011121314151617181920212223 |
- return {
- summary = 'Get the direction of the quaternion.',
- description = [[
- Creates a new temporary vec3 facing the forward direction, rotates it by this quaternion, and
- returns the vector.
- ]],
- arguments = {},
- returns = {
- v = {
- type = 'Vec3',
- description = 'The direction vector.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'v' }
- }
- },
- related = {
- 'Mat4:lookAt'
- }
- }
|