Type class updates.

This commit is contained in:
jussi
2024-11-20 17:10:42 +02:00
parent cddfc09ccc
commit cf2c2eb05b
8 changed files with 245 additions and 33 deletions

View File

@@ -151,7 +151,7 @@ function Quaternion:fromMatrix( mat )
end
function Quaternion:toMatrix()
return Matrix:newT( RL.QuaternionToMatrix( self ) )
return Matrix:new( RL.QuaternionToMatrix( self ) )
end
function Quaternion:fromAxisAngle( axis, angle )