diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 09:40:48 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 09:40:48 -0700 |
commit | 58ee2a30ce5fb83186392693c7b014aa667e02cf (patch) | |
tree | b1fad22f6c5dace07e0cc721f87cef796b194558 /indra/newview/llvocache.h | |
parent | 1983f52ce5211c02a55f5cabd86962eea3a22084 (diff) |
more fix for SH-4607: Create new object cache tuning parameters
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-x | indra/newview/llvocache.h | 4 |
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;} |