RotMatrixCalculates a rotation matrix from a rotation vector | ||||||||||||||||||||||||||||||||||||||||||||
Arguments
Return ValueThe rotation matrix m is returned.ExplanationThe rotation matrix m is calculated from the rotation vector (r->vx, r->vy, r->vz).In the rotation vector, 360° is represented as 4096, and 4096 is equivalent to 1.0 in each element. The matrix is an expansion of the following product:
Using GTE coordinate transformation, the vectors are multiplied from the right. Thus the matrix rotates around the Z, Y and X axes in that order. Angle value:
The argument format is as follows:
See AlsoMATRIX, SVECTOR |