SO3Engine
Functions | Variables
SCOLMaths.cpp File Reference

Go to the source code of this file.

Functions

int SO3MathsQuatToEulerXYZ (mmachine m)
 Main include.
 
int SO3MathsQuatToEulerXZY (mmachine m)
 SO3MathsQuatToEulerXZY : Scol function to transform quaternion vector in euler angles (XZY) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerYXZ (mmachine m)
 SO3MathsQuatToEulerYXZ : Scol function to transform quaternion vector in euler angles (YXZ) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerYZX (mmachine m)
 SO3MathsQuatToEulerYZX : Scol function to transform quaternion vector in euler angles (YZX) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerZXY (mmachine m)
 SO3MathsQuatToEulerZXY : Scol function to transform quaternion vector in euler angles (ZXY) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerZYX (mmachine m)
 SO3MathsQuatToEulerZYX : Scol function to transform quaternion vector in euler angles (ZYX) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeXYZ (mmachine m)
 SO3MathsQuatToEulerDegreeXYZ : Scol function to transform quaternion vector in euler angles (degree) (XYZ) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeXZY (mmachine m)
 SO3MathsQuatToEulerDegreeXZY : Scol function to transform quaternion vector in euler angles (degree) (XZY) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeYXZ (mmachine m)
 SO3MathsQuatToEulerDegreeYXZ : Scol function to transform quaternion vector in euler angles (degree) (YXZ) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeYZX (mmachine m)
 SO3MathsQuatToEulerDegreeYZX : Scol function to transform quaternion vector in euler angles (degree) (YZX) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeZXY (mmachine m)
 SO3MathsQuatToEulerDegreeZXY : Scol function to transform quaternion vector in euler angles (degree) (ZXY) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsQuatToEulerDegreeZYX (mmachine m)
 SO3MathsQuatToEulerDegreeZYX : Scol function to transform quaternion vector in euler angles (degree) (ZYX) !Deprecated! Prototype: fun [[F F F F]] [F F F].
 
int SO3MathsEulerXYZToQuat (mmachine m)
 SO3MathsEulerXYZToQuat : Scol function to transform euler angles (XYZ) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsEulerXZYToQuat (mmachine m)
 SO3MathsEulerXZYToQuat : Scol function to transform euler angles (XZY) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsEulerYXZToQuat (mmachine m)
 SO3MathsEulerYXZToQuat : Scol function to transform euler angles (YXZ) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsEulerYZXToQuat (mmachine m)
 SO3MathsEulerYZXToQuat : Scol function to transform euler angles (YZX) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsEulerZYXToQuat (mmachine m)
 SO3MathsEulerZYXToQuat : Scol function to transform euler angles (ZYX) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsEulerZXYToQuat (mmachine m)
 SO3MathsEulerZXYToQuat : Scol function to transform euler angles (ZXY) (radians) in a quaternion !Deprecated! Prototype: fun [[F F F]] [F F F F].
 
int SO3MathsQuatIsEqual (mmachine m)
 SO3MathsQuatIsEqual : Scol function test two quaternion equality.
 
int SO3MathsQuatDiff (mmachine m)
 SO3MathsQuatDiff : Scol function to make the mathematical difference between two quaternions.
 
int SO3MathsQuatSubstract (mmachine m)
 SO3MathsQuatSubstract : Scol function to substract two quaternions.
 
int SO3MathsQuatAdd (mmachine m)
 SO3MathsQuatAdd : Scol function to add two quaternions.
 
int SO3MathsQuatInterpolate (mmachine m)
 SO3MathsQuatInterpolate : function to interpolate two quaternions.
 
int SO3MathsDegreeToRadian (mmachine m)
 SO3MathsDegreeToRadian : function to convert a value from degrees to radians.
 
int SO3MathsRadianToDegree (mmachine m)
 SO3MathsRadianToDegree : function to convert a value from radians to degrees.
 
int SO3MathsQuatGetRoll (mmachine m)
 SO3MathsQuatGetRoll : function to get the roll value from quaternion.
 
int SO3MathsQuatGetYaw (mmachine m)
 SO3MathsQuatGetYaw : function to get the yaw value from quaternion.
 
int SO3MathsQuatGetPitch (mmachine m)
 SO3MathsQuatGetPitch : function to get the pitch value from quaternion.
 
int SO3MathsQuatGetDegreeRoll (mmachine m)
 SO3MathsQuatGetDegreeRoll : function to get the roll value in degree from quaternion.
 
int SO3MathsQuatGetDegreeYaw (mmachine m)
 SO3MathsQuatGetDegreeYaw : function to get the yaw value in degree from quaternion.
 
int SO3MathsQuatGetDegreePitch (mmachine m)
 SO3MathsQuatGetDegreePitch : function to get the pitch value in degree from quaternion.
 
int SO3MathsQuatToAxes (mmachine m)
 SO3MathsQuatToAxes : function to project quaternion to axis values.
 
int SO3MathsQuatFromAngle (mmachine m)
 SO3MathsQuatFromAngle : function to get Quaternion from X Y Z angle.
 
int SO3MathsQuatFromDegreeAngle (mmachine m)
 SO3MathsQuatFromDegreeAngle : function to get Quaternion from X Y Z angle in degree.
 
int SO3MathsQuatFromAngleAxis (mmachine m)
 SO3MathsQuatFromAngleAxis : function to get Quaternion from angle axis.
 
int SO3MathsQuatFromAxes (mmachine m)
 SO3MathsQuatFromAxes : function to get Quaternion from axis.
 
int SO3MathsQuatGetXaxis (mmachine m)
 SO3MathsQuatGetXaxis : function to get X-axis from quaternion.
 
int SO3MathsQuatGetYaxis (mmachine m)
 SO3MathsQuatGetYaxis : function to get Y-axis from quaternion.
 
int SO3MathsQuatGetZaxis (mmachine m)
 SO3MathsQuatGetZaxis : function to get Z-axis from quaternion.
 
int SO3MathsQuatGetDirection (mmachine m)
 SO3MathsQuatGetDirection : function to get the direction from quaternion.
 
int SO3MathsClampValue (mmachine m)
 SO3MathsClampValue : function to clamp a value.
 
int SO3MathsGetRotationTo (mmachine m)
 SO3MathsGetRotationTo : Scol function to get the shortest arc quaternion to rotate the source vector to the destination vector.
 
int SO3MathsGetRotationToAxis (mmachine m)
 SO3MathsGetRotationToAxis : Scol function to get the shortest arc quaternion to rotate the source vector to axis.
 
int SO3MathsVectorDotProduct (mmachine m)
 SO3MathsVectorDotProduct : Calculates the dot (scalar) product of this vector with another.
 
int SO3MathsQuatRotate (mmachine m)
 SO3MathsQuatRotate : Scol function to rotate a quaternion.
 
int SO3MathsQuatToEulerDegreePYR (mmachine m)
 SO3MathsQuatToEulerDegreePYR : Scol function to transform quaternion vector in euler angles (degree) (Pitch Yaw Roll)
 
int SO3MathsQuatToEulerPYR (mmachine m)
 SO3MathsQuatToEulerPYR : Scol function to transform quaternion vector in euler angles (Pitch Yaw Roll)
 
int SO3MathsEulerPYRToQuat (mmachine m)
 SO3MathsEulerPYRToQuat : Scol function to transform quaternion vector in euler angles (degree) (YZX)
 
int SCOLloadMaths (mmachine m, cbmachine w)
 Load the SO3Engine Mathematical functions.
 
int SCOLfreeMaths ()
 free the SO3Engine Lights function
 

Variables

NativeDefinition natSO3Maths []
 

Function Documentation

◆ SCOLfreeMaths()

int SCOLfreeMaths ( )

free the SO3Engine Lights function

Parameters
m: The VM

Definition at line 2820 of file SCOLMaths.cpp.

◆ SCOLloadMaths()

int SCOLloadMaths ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Mathematical functions.

Parameters
m: The VM
w: The Callback VM

Definition at line 2810 of file SCOLMaths.cpp.

Variable Documentation

◆ natSO3Maths

NativeDefinition natSO3Maths[]

Definition at line 2753 of file SCOLMaths.cpp.