diff options
author | Don Kjer <don@lindenlab.com> | 2011-02-19 00:17:12 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2011-02-19 00:17:12 +0000 |
commit | 8330a4d0fd046834a27a988102b439a6ec1f0aa2 (patch) | |
tree | 7fd2227522bf5c2377a45124cb50aad0afb90597 /indra/llmath/llcamera.cpp | |
parent | 3f5760b5ee4e422e11f3416133b7a4c3a73b1d8c (diff) | |
parent | 18bf5f09b22a2c36ccf543104b1115a7b0b9db71 (diff) |
Merge of ssh://hg.lindenlab.com/nat/viewer-eventapi2/
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; |