diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvotree.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/linden/indra/newview/llvotree.h b/linden/indra/newview/llvotree.h index 855c612..57116cc 100644 --- a/linden/indra/newview/llvotree.h +++ b/linden/indra/newview/llvotree.h | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | class LLFace; | 40 | class LLFace; |
41 | class LLDrawPool; | 41 | class LLDrawPool; |
42 | 42 | class LLSelectNode; | |
43 | 43 | ||
44 | class LLVOTree : public LLViewerObject | 44 | class LLVOTree : public LLViewerObject |
45 | { | 45 | { |
@@ -124,6 +124,9 @@ public: | |||
124 | LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point | 124 | LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point |
125 | ); | 125 | ); |
126 | 126 | ||
127 | void generateSilhouette(LLSelectNode* nodep, const LLVector3& view_point); | ||
128 | |||
129 | |||
127 | static S32 sMaxTreeSpecies; | 130 | static S32 sMaxTreeSpecies; |
128 | 131 | ||
129 | struct TreeSpeciesData | 132 | struct TreeSpeciesData |
@@ -200,6 +203,15 @@ protected: | |||
200 | static S32 sLODVertexCount[4]; | 203 | static S32 sLODVertexCount[4]; |
201 | static S32 sLODSlices[4]; | 204 | static S32 sLODSlices[4]; |
202 | static F32 sLODAngles[4]; | 205 | static F32 sLODAngles[4]; |
206 | |||
207 | private: | ||
208 | void generateSilhouetteVertices(std::vector<LLVector3> &vertices, | ||
209 | std::vector<LLVector3> &normals, | ||
210 | std::vector<S32> &segments, | ||
211 | const LLVector3& view_vec, | ||
212 | const LLMatrix4& mat, | ||
213 | const LLMatrix3& norm_mat); | ||
214 | |||
203 | }; | 215 | }; |
204 | 216 | ||
205 | #endif | 217 | #endif |