summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorsecretfoxtail <remmy@megapahit.net>2025-05-24 10:21:29 -0600
committersecretfoxtail <remmy@megapahit.net>2025-05-24 10:21:29 -0600
commit70a4ca3a0b971b1f3e838df30b0a2b46955d980a (patch)
tree5a4c1ef9454e9ced582a96586597ec24a37bd9e4 /indra/newview/llagentcamera.cpp
parent060bebcd3cbb5fbf6045bd777364947a2d8963d3 (diff)
Slightly faster avatar zoom in
bump ANIM_METERS_PER_SECOND to 20.0
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r--indra/newview/llagentcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 40cb6f6265..3b147707cf 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -2658,7 +2658,7 @@ void LLAgentCamera::setCameraPosAndFocusGlobal(const LLVector3d& camera_pos, con
if (mCameraAnimating)
{
- const F64 ANIM_METERS_PER_SECOND = 15.0;
+ const F64 ANIM_METERS_PER_SECOND = 20.0;
const F64 MIN_ANIM_SECONDS = 0.5;
const F64 MAX_ANIM_SECONDS = 3.0;
F64 anim_duration = llmax( MIN_ANIM_SECONDS, sqrt(focus_delta_squared) / ANIM_METERS_PER_SECOND );