aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/llcamera.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/llmath/llcamera.cpp
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/llmath/llcamera.cpp')
-rw-r--r--linden/indra/llmath/llcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llmath/llcamera.cpp b/linden/indra/llmath/llcamera.cpp
index 2197066..c32bb67 100644
--- a/linden/indra/llmath/llcamera.cpp
+++ b/linden/indra/llmath/llcamera.cpp
@@ -506,7 +506,7 @@ void LLCamera::calcAgentFrustumPlanes(LLVector3* frust)
506 mAgentPlanes[3] = planeFromPoints(frust[1], frust[0], frust[4]); 506 mAgentPlanes[3] = planeFromPoints(frust[1], frust[0], frust[4]);
507 507
508 //cache plane octant facing mask for use in AABBInFrustum 508 //cache plane octant facing mask for use in AABBInFrustum
509 for (int i = 0; i < 8; i++) 509 for (int i = 0; i < 6; i++)
510 { 510 {
511 U8 mask = 0; 511 U8 mask = 0;
512 LLPlane p = mAgentPlanes[i]; 512 LLPlane p = mAgentPlanes[i];