diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-05-24 17:37:21 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-05-24 17:37:21 -0600 |
commit | cb797532c0bd7ca0ab4caf66c48aa55ec99160a0 (patch) | |
tree | 1c5d90dcb2dfd93cc03acf2d2156c0ddaed3340b /indra/newview/llmeshrepository.h | |
parent | 79131e8a480ab3611ce739717ed84c6ad76aa234 (diff) | |
parent | f5726a094db77ec4fbba67e33d436cba8bf60a4b (diff) |
Automated merge with http://hg.secondlife.com/mesh-development
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r-- | indra/newview/llmeshrepository.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h index f859e29c07..0a6954bade 100644 --- a/indra/newview/llmeshrepository.h +++ b/indra/newview/llmeshrepository.h @@ -152,7 +152,7 @@ public: std::string mStatusMessage; std::vector<LLModel::PhysicsMesh> mHullMesh; LLModel::convex_hull_decomposition mHull; - + //status message callback, called from decomposition thread virtual S32 statusCallback(const char* status, S32 p1, S32 p2) = 0; @@ -160,6 +160,14 @@ public: virtual void completed() = 0; virtual void setStatusMessage(const std::string& msg); + + protected: + //internal use + LLVector3 mBBox[2] ; + F32 mTriangleAreaThreshold ; + + void updateTriangleAreaThreshold() ; + bool isValidTriangle(U16 idx1, U16 idx2, U16 idx3) ; }; LLCondition* mSignal; |