|
@@ -25,6 +25,10 @@ return {
|
|
m = {
|
|
m = {
|
|
type = 'Mat4',
|
|
type = 'Mat4',
|
|
description = 'A matrix to use the position of.'
|
|
description = 'A matrix to use the position of.'
|
|
|
|
+ },
|
|
|
|
+ q = {
|
|
|
|
+ type = 'Quat',
|
|
|
|
+ description = 'A quat to use the direction of.'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
returns = {
|
|
returns = {
|
|
@@ -45,7 +49,11 @@ return {
|
|
{
|
|
{
|
|
arguments = { 'm' },
|
|
arguments = { 'm' },
|
|
returns = { 'v' }
|
|
returns = { 'v' }
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ arguments = { 'q' },
|
|
|
|
+ returns = { 'v' }
|
|
|
|
+ },
|
|
},
|
|
},
|
|
related = {
|
|
related = {
|
|
'lovr.math.vec3',
|
|
'lovr.math.vec3',
|