File size: 881 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
--- Quaternion functions.
--- Returns a quaternion with the specified axis and angle
-- @cstyle quaternion quaternion(point axis, int angle).
-- @param axis point
-- @param angle integer
-- @return quaternion.
function quaternion(axis, angle)
end
--- Returns a normalized quaternion
-- @cstyle quaternion quaternion:Norm(quaternion q).
-- @return quaternion.
function quaternion:Norm()
end
--- Returns an inverse quaternion
-- @cstyle quaternion quaternion:Inv(quaternion q).
-- @return quaternion.
function quaternion:Inv()
end
--- Returns the axis and angle composing the quaternion
-- @cstyle point, int quaternion:GetAxisAngle(quaternion q).
-- @return point, int.
function quaternion:GetAxisAngle()
end
--- Check if the given parameter is a quaternion
-- @cstyle bool IsQuaternion(quaternion q).
-- @param q quaternion.
-- @return bool.
function IsQuaternion(q)
end
|