git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1273 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -410,7 +410,9 @@ void recursive_render (const struct aiScene *sc, const struct aiNode* nd, float
|
||||
unsigned int n=0, t;
|
||||
aiMatrix4x4 m = nd->mTransformation;
|
||||
|
||||
m.Scaling(aiVector3D(scale, scale, scale), m);
|
||||
aiMatrix4x4 m2;
|
||||
aiMatrix4x4::Scaling(aiVector3D(scale, scale, scale), m2);
|
||||
m = m * m2;
|
||||
|
||||
// update transform
|
||||
m.Transpose();
|
||||
|
||||
Reference in New Issue
Block a user