summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-11-13 09:40:48 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-11-13 09:40:48 -0700
commit58ee2a30ce5fb83186392693c7b014aa667e02cf (patch)
treeb1fad22f6c5dace07e0cc721f87cef796b194558 /indra/newview/llvocache.h
parent1983f52ce5211c02a55f5cabd86962eea3a22084 (diff)
more fix for SH-4607: Create new object cache tuning parameters
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-xindra/newview/llvocache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index 9d851288b4..500f102d2c 100755
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -85,14 +85,14 @@ public:
bool hasState(U32 state) {return mState & state;}
U32 getState() const {return mState;}
- bool isAnyVisible(const LLVector4a& camera_origin, F32 squared_dist_threshold);
+ bool isAnyVisible(const LLVector4a& camera_origin, F32 dist_threshold);
U32 getLocalID() const { return mLocalID; }
U32 getCRC() const { return mCRC; }
S32 getHitCount() const { return mHitCount; }
S32 getCRCChangeCount() const { return mCRCChangeCount; }
- void calcSceneContribution(const LLVector4a& camera_origin, bool needs_update, U32 last_update);
+ void calcSceneContribution(const LLVector4a& camera_origin, bool needs_update, U32 last_update, F32 dist_threshold);
void setSceneContribution(F32 scene_contrib) {mSceneContrib = scene_contrib;}
F32 getSceneContribution() const { return mSceneContrib;}