Return to previous page | Return to menu | Go to next page
Here are some library functions that perform some special modeling conversion operations. All of these are for adding rotation operations to object data, but the parameter settings differ from the rotation operation library functions described above.
Substituting sine and cosine values and adding rotation around the X axis.
Assign Sin value and Cos value to the parameter as FIXED type numbers, respectively.
Substituting sine and cosine values and adding rotation around the Y axis
Assign Sin value and Cos value to the parameter as FIXED type numbers, respectively.
Substitute sine and cosine values and add rotation around the Z axis.
Assign Sin value and Cos value to the parameter as FIXED type numbers, respectively.
Add rotation around an arbitrary axis passing through the origin (axis unit is specified as a vector value).
For the parameter, substitute the unit vector value (XYZ) representing the rotation axis and the rotation angle value.
For the vector value representing the rotation axis, substitute a value that always becomes a unit vector.
A unit vector is a vector whose size is always 1.