Enumerations | |
| enum | { DECOMP_INVALID = 0 , DECOMP_VALID = 1 , DECOMP_UNIQUE = 2 } |
Functions | |
| template<typename T> | |
| int | decompose (const math::Mat4< T > &m, math::Vec3< T > &scale, math::Vec3< T > &rotate, math::Vec3< T > &translate) |
| Decompose an affine transform into scale, rotation (XYZ order), and translation components. | |
| Vec3i | floorVec3 (const Vec3R &v) |
| Vec3i | ceilVec3 (const Vec3R &v) |
| Vec3i | roundVec3 (const Vec3R &v) |
| int decompose | ( | const math::Mat4< T > & | m, |
| math::Vec3< T > & | scale, | ||
| math::Vec3< T > & | rotate, | ||
| math::Vec3< T > & | translate ) |
Decompose an affine transform into scale, rotation (XYZ order), and translation components.