decompose_transform
void decompose_transform(const Matrix4 &matrix, Vector3 &out_position, Quaternion &out_rotation, Vector3 &out_scale) noexceptParameters
| Name | Type | Description |
|---|---|---|
matrix | const Matrix4 & | A column-major TRS matrix. |
out_position | Vector3 & | |
out_rotation | Quaternion & | |
out_scale | Vector3 & |
Description
Decomposes an affine matrix into translation, rotation and scale.
See also
engine/foundation/core/include/README.md

