diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llpolymesh.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llpolymesh.h')
-rw-r--r-- | linden/indra/newview/llpolymesh.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llpolymesh.h b/linden/indra/newview/llpolymesh.h index 8b6affe..7f4f087 100644 --- a/linden/indra/newview/llpolymesh.h +++ b/linden/indra/newview/llpolymesh.h | |||
@@ -134,7 +134,7 @@ private: | |||
134 | U32 getNumKB(); | 134 | U32 getNumKB(); |
135 | 135 | ||
136 | // Load mesh data from file | 136 | // Load mesh data from file |
137 | BOOL loadMesh( const char *fileName ); | 137 | BOOL loadMesh( const std::string& fileName ); |
138 | 138 | ||
139 | public: | 139 | public: |
140 | void genIndices(S32 offset); | 140 | void genIndices(S32 offset); |
@@ -171,7 +171,7 @@ public: | |||
171 | // Requests a mesh by name. | 171 | // Requests a mesh by name. |
172 | // If the mesh already exists in the global mesh table, it is returned, | 172 | // If the mesh already exists in the global mesh table, it is returned, |
173 | // otherwise it is loaded from file, added to the table, and returned. | 173 | // otherwise it is loaded from file, added to the table, and returned. |
174 | static LLPolyMesh *getMesh( const LLString &name, LLPolyMesh* reference_mesh = NULL); | 174 | static LLPolyMesh *getMesh( const std::string &name, LLPolyMesh* reference_mesh = NULL); |
175 | 175 | ||
176 | // Frees all loaded meshes. | 176 | // Frees all loaded meshes. |
177 | // This should only be called once you know there are no outstanding | 177 | // This should only be called once you know there are no outstanding |
@@ -311,7 +311,7 @@ public: | |||
311 | return mSharedData->mJointNames; | 311 | return mSharedData->mJointNames; |
312 | } | 312 | } |
313 | 313 | ||
314 | LLPolyMorphData* getMorphData(const char *morph_name); | 314 | LLPolyMorphData* getMorphData(const std::string& morph_name); |
315 | // void removeMorphData(LLPolyMorphData *morph_target); | 315 | // void removeMorphData(LLPolyMorphData *morph_target); |
316 | // void deleteAllMorphData(); | 316 | // void deleteAllMorphData(); |
317 | 317 | ||
@@ -362,7 +362,7 @@ protected: | |||
362 | LLPolyMesh *mReferenceMesh; | 362 | LLPolyMesh *mReferenceMesh; |
363 | 363 | ||
364 | // global mesh list | 364 | // global mesh list |
365 | typedef std::map<LLString, LLPolyMeshSharedData*> LLPolyMeshSharedDataTable; | 365 | typedef std::map<std::string, LLPolyMeshSharedData*> LLPolyMeshSharedDataTable; |
366 | static LLPolyMeshSharedDataTable sGlobalSharedMeshList; | 366 | static LLPolyMeshSharedDataTable sGlobalSharedMeshList; |
367 | 367 | ||
368 | // Backlink only; don't make this an LLPointer. | 368 | // Backlink only; don't make this an LLPointer. |
@@ -375,12 +375,12 @@ protected: | |||
375 | //----------------------------------------------------------------------------- | 375 | //----------------------------------------------------------------------------- |
376 | struct LLPolySkeletalBoneInfo | 376 | struct LLPolySkeletalBoneInfo |
377 | { | 377 | { |
378 | LLPolySkeletalBoneInfo(LLString &name, LLVector3 &scale, LLVector3 &pos, BOOL haspos) | 378 | LLPolySkeletalBoneInfo(std::string &name, LLVector3 &scale, LLVector3 &pos, BOOL haspos) |
379 | : mBoneName(name), | 379 | : mBoneName(name), |
380 | mScaleDeformation(scale), | 380 | mScaleDeformation(scale), |
381 | mPositionDeformation(pos), | 381 | mPositionDeformation(pos), |
382 | mHasPositionDeformation(haspos) {} | 382 | mHasPositionDeformation(haspos) {} |
383 | LLString mBoneName; | 383 | std::string mBoneName; |
384 | LLVector3 mScaleDeformation; | 384 | LLVector3 mScaleDeformation; |
385 | LLVector3 mPositionDeformation; | 385 | LLVector3 mPositionDeformation; |
386 | BOOL mHasPositionDeformation; | 386 | BOOL mHasPositionDeformation; |