A function defined in BBMOD_Quaternion.gml
FromEuler(_x, _y, _z)
Initializes the quaternion using euler angles.
Name | Type | Description |
---|---|---|
_x | Real |
The rotation around the X axis (in degrees). |
_y | Real |
The rotation around the Y axis (in degrees). |
_z | Real |
The rotation around the Z axis (in degrees). |
Struct.BBMOD_Quaternion
Returns self
.
The order of rotations is YXZ, same as in the matrix_build
function.
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.