diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-03 07:50:40 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-03 07:50:40 -0500 |
commit | 856a6992ebb0989e5d143d987a3e9ba79bb6492e (patch) | |
tree | 030b791d9b0d0622ab90ef7e19d6d038eaf80260 /indra/llmath/llcamera.cpp | |
parent | 0d93ce2e4a3daabc8d653290e39b67e5cddabb14 (diff) | |
parent | b7c49f0f47f53d200df5afe4a4b68a83dd789918 (diff) |
pull latest changes from viewer-vs2010
Diffstat (limited to 'indra/llmath/llcamera.cpp')
-rw-r--r-- | indra/llmath/llcamera.cpp | 1 |
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; |