diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpolymesh.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpolymesh.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/linden/indra/newview/llpolymesh.h b/linden/indra/newview/llpolymesh.h index c7c8054..8b6affe 100644 --- a/linden/indra/newview/llpolymesh.h +++ b/linden/indra/newview/llpolymesh.h | |||
@@ -39,10 +39,7 @@ | |||
39 | #include "v3math.h" | 39 | #include "v3math.h" |
40 | #include "v2math.h" | 40 | #include "v2math.h" |
41 | #include "llquaternion.h" | 41 | #include "llquaternion.h" |
42 | #include "llskipmap.h" | ||
43 | #include "llassoclist.h" | ||
44 | #include "llpolymorph.h" | 42 | #include "llpolymorph.h" |
45 | #include "llptrskipmap.h" | ||
46 | #include "lljoint.h" | 43 | #include "lljoint.h" |
47 | //#include "lldarray.h" | 44 | //#include "lldarray.h" |
48 | 45 | ||
@@ -99,8 +96,8 @@ private: | |||
99 | std::string* mJointNames; | 96 | std::string* mJointNames; |
100 | 97 | ||
101 | // morph targets | 98 | // morph targets |
102 | typedef LLLinkedList<LLPolyMorphData> LLPolyMorphDataList; | 99 | typedef std::set<LLPolyMorphData*> morphdata_list_t; |
103 | LLPolyMorphDataList mMorphData; | 100 | morphdata_list_t mMorphData; |
104 | 101 | ||
105 | std::map<S32, S32> mSharedVerts; | 102 | std::map<S32, S32> mSharedVerts; |
106 | 103 | ||
@@ -113,11 +110,11 @@ public: | |||
113 | U32 mNumTriangleIndices; | 110 | U32 mNumTriangleIndices; |
114 | U32 *mTriangleIndices; | 111 | U32 *mTriangleIndices; |
115 | 112 | ||
116 | private: | 113 | public: |
117 | LLPolyMeshSharedData(); | 114 | LLPolyMeshSharedData(); |
118 | |||
119 | ~LLPolyMeshSharedData(); | 115 | ~LLPolyMeshSharedData(); |
120 | 116 | ||
117 | private: | ||
121 | void setupLOD(LLPolyMeshSharedData* reference_data); | 118 | void setupLOD(LLPolyMeshSharedData* reference_data); |
122 | 119 | ||
123 | // Frees all mesh memory resources | 120 | // Frees all mesh memory resources |
@@ -315,8 +312,8 @@ public: | |||
315 | } | 312 | } |
316 | 313 | ||
317 | LLPolyMorphData* getMorphData(const char *morph_name); | 314 | LLPolyMorphData* getMorphData(const char *morph_name); |
318 | void removeMorphData(LLPolyMorphData *morph_target); | 315 | // void removeMorphData(LLPolyMorphData *morph_target); |
319 | void deleteAllMorphData(); | 316 | // void deleteAllMorphData(); |
320 | 317 | ||
321 | LLPolyMeshSharedData *getSharedData() const; | 318 | LLPolyMeshSharedData *getSharedData() const; |
322 | LLPolyMesh *getReferenceMesh() { return mReferenceMesh ? mReferenceMesh : this; } | 319 | LLPolyMesh *getReferenceMesh() { return mReferenceMesh ? mReferenceMesh : this; } |
@@ -365,7 +362,7 @@ protected: | |||
365 | LLPolyMesh *mReferenceMesh; | 362 | LLPolyMesh *mReferenceMesh; |
366 | 363 | ||
367 | // global mesh list | 364 | // global mesh list |
368 | typedef LLAssocList<std::string, LLPolyMeshSharedData*> LLPolyMeshSharedDataTable; | 365 | typedef std::map<LLString, LLPolyMeshSharedData*> LLPolyMeshSharedDataTable; |
369 | static LLPolyMeshSharedDataTable sGlobalSharedMeshList; | 366 | static LLPolyMeshSharedDataTable sGlobalSharedMeshList; |
370 | 367 | ||
371 | // Backlink only; don't make this an LLPointer. | 368 | // Backlink only; don't make this an LLPointer. |