A function defined in BBMOD_Matrix.gml
RotateEuler(_x[, _y, _z])
Rotates the matrix using euler angles and returns the result as a new matrix.
Name | Type | Description |
---|---|---|
_x | Real, Struct.BBMOD_Vec3 |
Rotation on the X axis or a vector with rotations on all axes. |
_y | Real |
Rotation on the Y axis. Use undefined if _x is a vector. Defaults to undefined . |
_z | Real |
Rotation on the Z axis. Use undefined if _x is a vector. Defaults to undefined . |
Struct.BBMOD_Matrix
The resulting matrix.
The order of rotations is YXZ, same as in matrix_build
.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.