mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
unused variable cleanup
This commit is contained in:
parent
1131ed15df
commit
cc9955e102
9 changed files with 0 additions and 35 deletions
|
|
@ -1446,7 +1446,6 @@ void TSSkinMesh::setupVertexTransforms()
|
|||
for( i = 0, j = 0; i < curTransform.transformCount; i += 4, j += 1 )
|
||||
{
|
||||
__TSMeshVertex_BoneData &v = mVertexData.getBone(curTransform.vertexIndex, j);
|
||||
const BatchData::TransformOp &transformOp = curTransform.transform[i];
|
||||
S32 vertsSet = transformsLeft > 4 ? 4 : transformsLeft;
|
||||
|
||||
__TSMeshIndex_List indices;
|
||||
|
|
@ -3183,9 +3182,6 @@ U32 TSMesh::getNumVerts()
|
|||
|
||||
void TSMesh::_convertToVertexData(TSMeshVertexArray &outArray, const Vector<Point3F> &_verts, const Vector<Point3F> &_norms)
|
||||
{
|
||||
U32 colorOffset = 0;
|
||||
U32 boneOffset = 0;
|
||||
|
||||
// Update tangents list
|
||||
createTangents(verts, norms);
|
||||
|
||||
|
|
@ -3202,7 +3198,6 @@ void TSMesh::_convertToVertexData(TSMeshVertexArray &outArray, const Vector<Poin
|
|||
if (mNumVerts == 0)
|
||||
return;
|
||||
|
||||
bool needsSkin = mVertexFormat->hasBlendIndices();
|
||||
bool needWeightSet = outArray.getBoneOffset() != 0;
|
||||
|
||||
bool hasColor = getHasColor();
|
||||
|
|
@ -3240,8 +3235,6 @@ void TSMesh::_convertToVertexData(TSMeshVertexArray &outArray, const Vector<Poin
|
|||
|
||||
void TSMesh::makeEditable()
|
||||
{
|
||||
bool hasTVert2 = getHasTVert2();
|
||||
bool hasColor = getHasColor();
|
||||
bool hasVerts = verts.size() != 0;
|
||||
|
||||
if(mVertexData.isReady() && !hasVerts)
|
||||
|
|
@ -3293,8 +3286,6 @@ void TSSkinMesh::addWeightsFromVertexBuffer()
|
|||
|
||||
void TSSkinMesh::makeEditable()
|
||||
{
|
||||
bool hasTVert2 = getHasTVert2();
|
||||
bool hasColor = getHasColor();
|
||||
bool hasVerts = verts.size() != 0;
|
||||
|
||||
// Reconstruct bone mapping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue