mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-24 04:28:10 +00:00
Fixed incorrect order of operations during vertex matrix creation
This commit is contained in:
1 parent
7b89b9034d
commit
4d822d392d
1 file changed
+2
-2
@@ -184,9 +184,9 @@ namespace
|
||||
Eigen::Vector3f scale(localScale[0], localScale[1], localScale[2]);
|
||||
|
||||
Eigen::Affine3f transform = Eigen::Affine3f::Identity();
|
||||
transform.scale(scale);
|
||||
transform.rotate(rotation);
|
||||
transform.translate(translation);
|
||||
transform.rotate(rotation);
|
||||
transform.scale(scale);
|
||||
|
||||
return transform.matrix();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user