| On this page | |
| Since | 20.0 |
Prerotates the transformation matrix using an angle-axis rotation. An angle-axis rotation describes a rotation in terms of an axis of rotation and the angle rotation about that axis. This is equivalent to applying an angle-axis rotation in the local space of an established transform.
入力 ¶
m:
Matrix3, Matrix4
The transformation matrix to prerotate.
axis:
Vector3
A vector representing the axis of rotation (also known as the Euler axis). The vector does not have to be normalized.
angle:
Float
The angle of rotation, in degrees.
出力 ¶
result:
Matrix3, Matrix4
The prerotated transformation matrix.
| See also |