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') - class TSShapeLoader
This commit is contained in:
parent
9aeb4389f3
commit
1778a8d7f2
7 changed files with 284 additions and 284 deletions
|
|
@ -58,7 +58,7 @@ static char* TrimFirstWord(char* str)
|
|||
|
||||
ColladaAppNode::ColladaAppNode(const domNode* node, ColladaAppNode* parent)
|
||||
: p_domNode(node), appParent(parent), nodeExt(new ColladaExtension_node(node)),
|
||||
lastTransformTime(TSShapeLoader::DefaultTime-1), defaultTransformValid(false),
|
||||
lastTransformTime(TSShapeLoader::smDefaultTime-1), defaultTransformValid(false),
|
||||
invertMeshes(false)
|
||||
{
|
||||
mName = dStrdup(_GetNameOrId(node));
|
||||
|
|
@ -178,7 +178,7 @@ bool ColladaAppNode::animatesTransform(const AppSequence* appSeq)
|
|||
MatrixF ColladaAppNode::getNodeTransform(F32 time)
|
||||
{
|
||||
// Avoid re-computing the default transform if possible
|
||||
if (defaultTransformValid && time == TSShapeLoader::DefaultTime)
|
||||
if (defaultTransformValid && time == TSShapeLoader::smDefaultTime)
|
||||
{
|
||||
return defaultNodeTransform;
|
||||
}
|
||||
|
|
@ -198,7 +198,7 @@ MatrixF ColladaAppNode::getNodeTransform(F32 time)
|
|||
}
|
||||
|
||||
// Cache the default transform
|
||||
if (time == TSShapeLoader::DefaultTime)
|
||||
if (time == TSShapeLoader::smDefaultTime)
|
||||
{
|
||||
defaultTransformValid = true;
|
||||
defaultNodeTransform = nodeTransform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue