mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
Update assimpShapeLoader.cpp
fix for mac and linux build
This commit is contained in:
parent
ca6e26520b
commit
5f1c2a63e5
1 changed files with 2 additions and 1 deletions
|
|
@ -194,7 +194,8 @@ float getUnitScaleFactor(const aiScene* scene) {
|
|||
}
|
||||
|
||||
void scaleScene(const aiScene* scene, float scaleFactor) {
|
||||
aiMatrix4x4 scaleMatrix = aiMatrix4x4::Scaling(aiVector3D(scaleFactor, scaleFactor, scaleFactor), aiMatrix4x4());
|
||||
aiMatrix4x4 scaleMatrix;
|
||||
scaleMatrix = aiMatrix4x4::Scaling(aiVector3D(scaleFactor, scaleFactor, scaleFactor), scaleMatrix);
|
||||
applyTransformation(scene->mRootNode, scaleMatrix);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue