diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmath/llcamera.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llmath/llcamera.cpp b/linden/indra/llmath/llcamera.cpp index 0609e2f..9c37fcf 100644 --- a/linden/indra/llmath/llcamera.cpp +++ b/linden/indra/llmath/llcamera.cpp | |||
@@ -708,6 +708,7 @@ void LLCamera::calculateFrustumPlanes(F32 left, F32 right, F32 top, F32 bottom) | |||
708 | mLocalPlanes[PLANE_BOTTOM].setVec( a, c, b); | 708 | mLocalPlanes[PLANE_BOTTOM].setVec( a, c, b); |
709 | 709 | ||
710 | //calculate center and radius squared of frustum in world absolute coordinates | 710 | //calculate center and radius squared of frustum in world absolute coordinates |
711 | static LLVector3 const X_AXIS(1.f, 0.f, 0.f); | ||
711 | mFrustCenter = X_AXIS*mFarPlane*0.5f; | 712 | mFrustCenter = X_AXIS*mFarPlane*0.5f; |
712 | mFrustCenter = transformToAbsolute(mFrustCenter); | 713 | mFrustCenter = transformToAbsolute(mFrustCenter); |
713 | mFrustRadiusSquared = mFarPlane*0.5f; | 714 | mFrustRadiusSquared = mFarPlane*0.5f; |