Composes a 4x4 matrix from position, Euler rotation angles, and scale. The Euler angles are converted to a quaternion for rotation.
The position vector to translate by.
The Euler angles for rotation (in radians).
The scaling factor for each axis.
An optional pre-allocated matrix for the result. Defaults to an identity matrix.
The resulting composed matrix.
Composes a 4x4 matrix from position, Euler rotation angles, and scale. The Euler angles are converted to a quaternion for rotation.