Skip to content
Snippets Groups Projects
Commit 5b29b48e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Smol opt

parent 322b0f65
No related branches found
No related tags found
No related merge requests found
...@@ -833,7 +833,7 @@ BOOL LLViewerCamera::areVertsVisible(LLViewerObject* volumep, BOOL all_verts) ...@@ -833,7 +833,7 @@ BOOL LLViewerCamera::areVertsVisible(LLViewerObject* volumep, BOOL all_verts)
// changes local camera and broadcasts change // changes local camera and broadcasts change
/* virtual */ void LLViewerCamera::setView(F32 vertical_fov_rads) /* virtual */ void LLViewerCamera::setView(F32 vertical_fov_rads)
{ {
F32 old_fov = LLViewerCamera::getInstance()->getView(); F32 old_fov = getView();
// cap the FoV // cap the FoV
vertical_fov_rads = llclamp(vertical_fov_rads, getMinView(), getMaxView()); vertical_fov_rads = llclamp(vertical_fov_rads, getMinView(), getMaxView());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment