diff --git a/code/foundation/math/mat4.h b/code/foundation/math/mat4.h index b4b8c64b4..13dd81971 100644 --- a/code/foundation/math/mat4.h +++ b/code/foundation/math/mat4.h @@ -1139,7 +1139,7 @@ translation(const vec3& t) __forceinline mat4 trs(const vec3& position, const quat& rotation, const vec3& scale) { - return Math::translation(position) * Math::rotationquat(rotation) * Math::scaling(scale); + return Math::affine(scale, rotation, position); } //------------------------------------------------------------------------------