collada/ts chain shadowvar and member var clenaups

This commit is contained in:
Azaezel 2018-03-16 18:40:32 -05:00
parent e4bd3e8295
commit 53ce915dcf
6 changed files with 264 additions and 264 deletions

View file

@ -101,24 +101,24 @@ public:
protected:
// Variables used during loading that must be held until the shape is deleted
TSShape* shape;
Vector<AppMesh*> appMeshes;
TSShape* mShape;
Vector<AppMesh*> mAppMeshes;
// Variables used during loading, but that can be discarded afterwards
static Torque::Path shapePath;
static Torque::Path mShapePath;
AppNode* boundsNode;
Vector<AppNode*> appNodes; ///< Nodes in the loaded shape
Vector<AppSequence*> appSequences;
AppNode* mBoundsNode;
Vector<AppNode*> mAppNodes; ///< Nodes in the loaded shape
Vector<AppSequence*> mAppSequences;
Vector<Subshape*> subshapes;
Vector<Subshape*> mSubshapes;
Vector<QuatF*> nodeRotCache;
Vector<Point3F*> nodeTransCache;
Vector<QuatF*> nodeScaleRotCache;
Vector<Point3F*> nodeScaleCache;
Vector<QuatF*> mNodeRotCache;
Vector<Point3F*> mNodeTransCache;
Vector<QuatF*> mNodeScaleRotCache;
Vector<Point3F*> mNodeScaleCache;
Point3F shapeOffset; ///< Offset used to translate the shape origin
Point3F mShapeOffset; ///< Offset used to translate the shape origin
//--------------------------------------------------------------------------
@ -183,10 +183,10 @@ protected:
void install();
public:
TSShapeLoader() : boundsNode(0) { }
TSShapeLoader() : mBoundsNode(0) { }
virtual ~TSShapeLoader();
static const Torque::Path& getShapePath() { return shapePath; }
static const Torque::Path& getShapePath() { return mShapePath; }
static void zapScale(MatrixF& mat);