mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Rename all member variables to follow the style guidelines (prefixed with the 'm') - struct ImportOptions (ColladaUtils)
This commit is contained in:
parent
40037b8b51
commit
733347fd61
9 changed files with 68 additions and 68 deletions
|
|
@ -221,7 +221,7 @@ MatrixF ColladaAppNode::getTransform(F32 time)
|
|||
else {
|
||||
// no parent (ie. root level) => scale by global shape <unit>
|
||||
lastTransform.identity();
|
||||
lastTransform.scale(ColladaUtils::getOptions().unit);
|
||||
lastTransform.scale(ColladaUtils::getOptions().mUnit);
|
||||
if (!isBounds())
|
||||
ColladaUtils::convertTransform(lastTransform); // don't convert bounds node transform (or upAxis won't work!)
|
||||
}
|
||||
|
|
@ -242,7 +242,7 @@ MatrixF ColladaAppNode::getTransform(F32 time)
|
|||
}
|
||||
|
||||
// Remove node scaling (but keep reflections) if desired
|
||||
if (ColladaUtils::getOptions().ignoreNodeScale)
|
||||
if (ColladaUtils::getOptions().mIgnoreNodeScale)
|
||||
{
|
||||
Point3F invScale = mat.getScale();
|
||||
invScale.x = invScale.x ? (1.0f / invScale.x) : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue