aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvotree.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvotree.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llvotree.h b/linden/indra/newview/llvotree.h
index 4d11d20..fb35dd9 100644
--- a/linden/indra/newview/llvotree.h
+++ b/linden/indra/newview/llvotree.h
@@ -39,6 +39,14 @@ class LLDrawPool;
39class LLVOTree : public LLViewerObject 39class LLVOTree : public LLViewerObject
40{ 40{
41public: 41public:
42 enum
43 {
44 VERTEX_DATA_MASK = (1 << LLVertexBuffer::TYPE_VERTEX) |
45 (1 << LLVertexBuffer::TYPE_NORMAL) |
46 (1 << LLVertexBuffer::TYPE_TEXCOORD)
47 }
48 eVertexDataMask;
49
42 LLVOTree(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp); 50 LLVOTree(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp);
43 virtual ~LLVOTree(); 51 virtual ~LLVOTree();
44 52
@@ -59,10 +67,13 @@ public:
59 67
60 /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline); 68 /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline);
61 /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); 69 /*virtual*/ BOOL updateGeometry(LLDrawable *drawable);
70 /*virtual*/ void updateSpatialExtents(LLVector3 &min, LLVector3 &max);
71
72 virtual U32 getPartitionType() const;
62 73
63 void updateRadius(); 74 void updateRadius();
64 75
65 void drawBranchPipeline(LLDrawPool *draw_pool, S32 trunk_LOD, S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha); 76 U32 drawBranchPipeline(U32* indicesp, S32 trunk_LOD, S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha);
66 77
67 void drawBranch(S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha, BOOL draw_leaves); 78 void drawBranch(S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha, BOOL draw_leaves);
68 79