diff options
author | Tofu Buzzard <no-email> | 2011-02-10 09:54:55 -0800 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2011-02-10 09:54:55 -0800 |
commit | c3d46cf6091ab544c5c8fb4a0246bbb1743ae69c (patch) | |
tree | e02259d268b707d8ae4541f5673fc925b36cfe72 /indra/llmath/llcamera.cpp | |
parent | cc6602c0c7fa34d712127cb98b24fcc73641fc19 (diff) | |
parent | 3738cf241ab547e93c0cd9f0c0250502d93c9092 (diff) |
merge
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 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; |