diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-18 06:15:12 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-18 06:15:12 -0500 |
commit | 17f79c802023d3b220986321f51757b102b70e81 (patch) | |
tree | 93fd855bf772d1f0deac96a504323a707c112ea7 /indra/llmath/llcamera.cpp | |
parent | d0b4c4a7b2c454d1a287af4a3a7b7342609d555d (diff) | |
parent | c89e281de1420254f8028f4dff907cf1ae985d7a (diff) |
merge changes for 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; |