From 58ee2a30ce5fb83186392693c7b014aa667e02cf Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Wed, 13 Nov 2013 09:40:48 -0700 Subject: more fix for SH-4607: Create new object cache tuning parameters --- indra/newview/llvocache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llvocache.h') 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;} -- cgit v1.2.3