summaryrefslogtreecommitdiff
path: root/indra/llmath/llcamera.cpp
diff options
context:
space:
mode:
authorAlain Linden <alain@lindenlab.com>2011-03-03 13:56:43 -0800
committerAlain Linden <alain@lindenlab.com>2011-03-03 13:56:43 -0800
commitba1d1267fe2214198b36b5ed130a9a4ae5c5fb3f (patch)
tree5e647d28eaeed51872ff9ca65536aeb2ce90535a /indra/llmath/llcamera.cpp
parent0d93ce2e4a3daabc8d653290e39b67e5cddabb14 (diff)
parentd0ed06ffcae08a11ee8b5ff35692b25b5cbbb48a (diff)
Automated merge with https://bitbucket.org/jenn_linden/viewer-vs2010
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 bad4d00fd6..687c1a7d45 100644
--- a/indra/llmath/llcamera.cpp
+++ b/indra/llmath/llcamera.cpp
@@ -703,6 +703,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;