summaryrefslogtreecommitdiff
path: root/indra/llmath/llcamera.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-02-10 10:44:21 -0500
committerLoren Shih <seraph@lindenlab.com>2011-02-10 10:44:21 -0500
commite3ed1565f8c6eeff5d87f862465038aa98576fa9 (patch)
tree4ab57c1658d589d802f1e6bb6ff3331b75b61074 /indra/llmath/llcamera.cpp
parent952c3eaaa8c78d00ef62932d46af1d8fa565e7b2 (diff)
parent76cb9a7796ffce930458aae00147f8dafa4b33fb (diff)
Automated merge up from viewer-development into mesh-development
Diffstat (limited to 'indra/llmath/llcamera.cpp')
-rw-r--r--indra/llmath/llcamera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmath/llcamera.cpp b/indra/llmath/llcamera.cpp
index 2ffc56644f..22ba26f99b 100644
--- a/indra/llmath/llcamera.cpp
+++ b/indra/llmath/llcamera.cpp
@@ -607,6 +607,7 @@ void LLCamera::calculateFrustumPlanes(F32 left, F32 right, F32 top, F32 bottom)
mLocalPlanes[PLANE_BOTTOM].setVec( a, c, b);
//calculate center and radius squared of frustum in world absolute coordinates
+ static LLVector3 const X_AXIS(1.f, 0.f, 0.f);
mFrustCenter = X_AXIS*mFarPlane*0.5f;
mFrustCenter = transformToAbsolute(mFrustCenter);
mFrustRadiusSquared = mFarPlane*0.5f;