diff options
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-x | indra/newview/llvocache.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 500f102d2c..6e10ab86ee 100755 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -85,7 +85,7 @@ public: bool hasState(U32 state) {return mState & state;} U32 getState() const {return mState;} - bool isAnyVisible(const LLVector4a& camera_origin, F32 dist_threshold); + bool isAnyVisible(const LLVector4a& camera_origin, const LLVector4a& local_camera_origin, F32 dist_threshold); U32 getLocalID() const { return mLocalID; } U32 getCRC() const { return mCRC; } @@ -117,6 +117,7 @@ public: void setBoundingInfo(const LLVector3& pos, const LLVector3& scale); //called from processing object update message void updateParentBoundingInfo(); + void saveBoundingSphere(); void setTouched(BOOL touched = TRUE) {mTouched = touched;} BOOL isTouched() const {return mTouched;} @@ -153,6 +154,9 @@ protected: BOOL mTouched; //if set, this entry is valid, otherwise it is invalid. + LLVector4a mBSphereCenter; //bounding sphere center + F32 mBSphereRadius; //bounding sphere radius + public: static U32 sMinFrameRange; static F32 sNearRadiusSquared; |