SMC_Quat1_Delta (FUN)

 

FUNCTION SMC_Quat1_Delta : BOOL

Computes the delta between two rotations, that are represented as unit quaternions. Returns either q1 * q0^(-1) or -q1 * q0^(-1), whichever corresponds to the shorter angle. (This ambiguity is due to the fact that a rotation is always described by two unit quaternions q and -q.)

InOut:

Scope

Name

Type

Return

SMC_Quat1_Delta

BOOL

Inout

qDelta

SMC_Quat

Inout Const

q0

SMC_Quat

q1

SMC_Quat