diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-27 12:34:05 +0100 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-27 12:34:05 +0100 | 
| commit | be6dc84b12c0c12975d8317604e5bff85fa14049 (patch) | |
| tree | 8e79762251a307cedbac037ece893cf12b0ef9b2 /indra/newview/llspatialpartition.h | |
| parent | e5273960de222ffae32405fde8e9fd566ff72d0a (diff) | |
| parent | 94bddd2b4450674b9f121a10b97f0846b6a97d87 (diff) | |
merge from viewer-public
Diffstat (limited to 'indra/newview/llspatialpartition.h')
| -rw-r--r-- | indra/newview/llspatialpartition.h | 18 | 
1 files changed, 12 insertions, 6 deletions
| diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h index 7896488379..19af6a0c38 100644 --- a/indra/newview/llspatialpartition.h +++ b/indra/newview/llspatialpartition.h @@ -346,11 +346,11 @@ public:  	F32 mBuilt;  	OctreeNode* mOctreeNode;  	LLSpatialPartition* mSpatialPartition; -	LLVector3 mBounds[2]; -	LLVector3 mExtents[2]; +	LLVector3 mBounds[2]; // bounding box (center, size) of this node and all its children (tight fit to objects) +	LLVector3 mExtents[2]; // extents (min, max) of this node and all its children -	LLVector3 mObjectExtents[2]; -	LLVector3 mObjectBounds[2]; +	LLVector3 mObjectExtents[2]; // extents (min, max) of objects in this node +	LLVector3 mObjectBounds[2]; // bounding box (center, size) of objects in this node  	LLPointer<LLVertexBuffer> mVertexBuffer;  	F32*					mOcclusionVerts; @@ -534,12 +534,19 @@ private:  	U32					mRenderMapSize[LLRenderPass::NUM_RENDER_TYPES];  	sg_list_t			mVisibleGroups; +	sg_list_t::iterator mVisibleGroupsEnd;  	sg_list_t			mAlphaGroups; +	sg_list_t::iterator mAlphaGroupsEnd;  	sg_list_t			mOcclusionGroups; +	sg_list_t::iterator	mOcclusionGroupsEnd;  	sg_list_t			mDrawableGroups; +	sg_list_t::iterator mDrawableGroupsEnd;  	drawable_list_t		mVisibleList; +	drawable_list_t::iterator mVisibleListEnd;  	bridge_list_t		mVisibleBridge; +	bridge_list_t::iterator mVisibleBridgeEnd;  	drawinfo_list_t		mRenderMap[LLRenderPass::NUM_RENDER_TYPES]; +	drawinfo_list_t::iterator mRenderMapEnd[LLRenderPass::NUM_RENDER_TYPES];  }; @@ -606,14 +613,13 @@ public:  //class for wrangling geometry out of volumes (implemented in LLVOVolume.cpp)  class LLVolumeGeometryManager: public LLGeometryManager  { -public: + public:  	virtual ~LLVolumeGeometryManager() { }  	virtual void rebuildGeom(LLSpatialGroup* group);  	virtual void rebuildMesh(LLSpatialGroup* group);  	virtual void getGeometry(LLSpatialGroup* group);  	void genDrawInfo(LLSpatialGroup* group, U32 mask, std::vector<LLFace*>& faces, BOOL distance_sort = FALSE);  	void registerFace(LLSpatialGroup* group, LLFace* facep, U32 type); -  };  //spatial partition that uses volume geometry manager (implemented in LLVOVolume.cpp) | 
