aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvotree.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llvotree.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llvotree.h')
-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