2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

Fixed incorrect order of operations during vertex matrix creation

This commit is contained in:
LJW-Dev
2026-02-12 17:47:53 +08:00
committed by Jan Laupetin
parent 7b89b9034d
commit 4d822d392d
+2 -2
View File
@@ -184,9 +184,9 @@ namespace
Eigen::Vector3f scale(localScale[0], localScale[1], localScale[2]); Eigen::Vector3f scale(localScale[0], localScale[1], localScale[2]);
Eigen::Affine3f transform = Eigen::Affine3f::Identity(); Eigen::Affine3f transform = Eigen::Affine3f::Identity();
transform.scale(scale);
transform.rotate(rotation);
transform.translate(translation); transform.translate(translation);
transform.rotate(rotation);
transform.scale(scale);
return transform.matrix(); return transform.matrix();
} }