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 TSMesh
This commit is contained in:
parent
1778a8d7f2
commit
e2545c359c
12 changed files with 406 additions and 406 deletions
|
|
@ -86,10 +86,10 @@ S32 TSSortedMesh::getNumPolys()
|
|||
Cluster & cluster = clusters[cIdx];
|
||||
for (S32 i=cluster.startPrimitive; i<cluster.endPrimitive; i++)
|
||||
{
|
||||
if (primitives[i].matIndex & TSDrawPrimitive::Triangles)
|
||||
count += primitives[i].numElements / 3;
|
||||
if (mPrimitives[i].matIndex & TSDrawPrimitive::Triangles)
|
||||
count += mPrimitives[i].numElements / 3;
|
||||
else
|
||||
count += primitives[i].numElements - 2;
|
||||
count += mPrimitives[i].numElements - 2;
|
||||
}
|
||||
cIdx = cluster.frontCluster; // always use frontCluster...we assume about the same no matter what
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue