summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-22 16:52:05 -0500
committerDave Parks <davep@lindenlab.com>2010-04-22 16:52:05 -0500
commitbd216c96498585ca01e1634877d4b184f20fa45f (patch)
tree9ffee9054674196817a81889a469fb15b933a23f /indra/llmath
parent8496f2673971d0b3ba0f22623d7007cd163f8b02 (diff)
Fix for shadows from skyboxes hitting the ground.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llcamera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llcamera.h b/indra/llmath/llcamera.h
index 0c81067919..d6c5f7bbb1 100644
--- a/indra/llmath/llcamera.h
+++ b/indra/llmath/llcamera.h
@@ -143,7 +143,7 @@ private:
public:
LLVector3 mAgentFrustum[8]; //8 corners of 6-plane frustum
F32 mFrustumCornerDist; //distance to corner of frustum against far clip plane
- LLPlane getAgentPlane(U32 idx) { return mAgentPlanes[idx].p; }
+ LLPlane& getAgentPlane(U32 idx) { return mAgentPlanes[idx].p; }
public:
LLCamera();