SMC_Quat1_From_RotMatrix (FUN)

 

FUNCTION SMC_Quat1_From_RotMatrix : BOOL

Converts a rotation matrix (orthonormal with determinant 1) to a unit quaternion. The result is undefined if m is not a rotation.

InOut:

Scope

Name

Type

Return

SMC_Quat1_From_RotMatrix

BOOL

Inout

q

SMC_Quat

Inout Const

m

SMC_Matrix3