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

This commit is contained in:
bank 2014-05-13 12:43:01 +04:00
parent 1778a8d7f2
commit e2545c359c
12 changed files with 406 additions and 406 deletions

View file

@ -147,22 +147,22 @@ TSMesh* AppMesh::constructTSMesh()
}
// Copy mesh elements
tsmesh->verts = mPoints;
tsmesh->norms = mNormals;
tsmesh->tverts = mUVs;
tsmesh->primitives = mPrimitives;
tsmesh->indices = mIndices;
tsmesh->colors = mColors;
tsmesh->tverts2 = mUV2s;
tsmesh->mVerts = mPoints;
tsmesh->mNorms = mNormals;
tsmesh->mTVerts = mUVs;
tsmesh->mPrimitives = mPrimitives;
tsmesh->mIndices = mIndices;
tsmesh->mColors = mColors;
tsmesh->mTVerts2 = mUV2s;
// Finish initializing the shape
tsmesh->setFlags(mFlags);
tsmesh->computeBounds();
tsmesh->numFrames = mNumFrames;
tsmesh->numMatFrames = mNumMatFrames;
tsmesh->vertsPerFrame = mVertsPerFrame;
tsmesh->createTangents(tsmesh->verts, tsmesh->norms);
tsmesh->encodedNorms.set(NULL,0);
tsmesh->mNumFrames = mNumFrames;
tsmesh->mNumMatFrames = mNumMatFrames;
tsmesh->mVertsPerFrame = mVertsPerFrame;
tsmesh->createTangents(tsmesh->mVerts, tsmesh->mNorms);
tsmesh->mEncodedNorms.set(NULL,0);
return tsmesh;
}