Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSShape

This commit is contained in:
bank 2014-05-13 14:08:42 +04:00
parent 2112c81446
commit 69dbaf5b85
35 changed files with 1377 additions and 1377 deletions

View file

@ -359,24 +359,24 @@ void ColladaShapeLoader::computeBounds(Box3F& bounds)
bounds.maxExtents += shapeOffset;
// Now adjust all positions for root level nodes (nodes with no parent)
for (S32 iNode = 0; iNode < mShape->nodes.size(); iNode++)
for (S32 iNode = 0; iNode < mShape->mNodes.size(); iNode++)
{
if ( !mAppNodes[iNode]->isParentRoot() )
continue;
// Adjust default translation
mShape->defaultTranslations[iNode] += shapeOffset;
mShape->mDefaultTranslations[iNode] += shapeOffset;
// Adjust animated translations
for (S32 iSeq = 0; iSeq < mShape->sequences.size(); iSeq++)
for (S32 iSeq = 0; iSeq < mShape->mSequences.size(); iSeq++)
{
const TSShape::Sequence& seq = mShape->sequences[iSeq];
const TSShape::Sequence& seq = mShape->mSequences[iSeq];
if ( seq.translationMatters.test(iNode) )
{
for (S32 iFrame = 0; iFrame < seq.numKeyframes; iFrame++)
{
S32 index = seq.baseTranslation + seq.translationMatters.count(iNode)*seq.numKeyframes + iFrame;
mShape->nodeTranslations[index] += shapeOffset;
mShape->mNodeTranslations[index] += shapeOffset;
}
}
}