diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 18:56:37 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 18:56:37 +0000 |
commit | df0d43054c504a3bd7b18298b1d339e95965a9fb (patch) | |
tree | 07466d8ef84a0a8e3d9b7946363099f7533ba490 /indra/llmath | |
parent | 3495954cd63977e7434e74addae15466955b1f89 (diff) |
CID-289
Checker: UNINIT_CTOR
Function: LLCamera::LLCamera()
File: /indra/llmath/llcamera.cpp
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llcamera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llcamera.cpp b/indra/llmath/llcamera.cpp index 21ea4b2e7c..89c32be8cd 100644 --- a/indra/llmath/llcamera.cpp +++ b/indra/llmath/llcamera.cpp @@ -45,7 +45,8 @@ LLCamera::LLCamera() : mNearPlane(DEFAULT_NEAR_PLANE), mFarPlane(DEFAULT_FAR_PLANE), mFixedDistance(-1.f), - mPlaneCount(6) + mPlaneCount(6), + mFrustumCornerDist(0.f) { calculateFrustumPlanes(); } @@ -648,7 +649,6 @@ void LLCamera::ignoreAgentFrustumPlane(S32 idx) void LLCamera::calcAgentFrustumPlanes(LLVector3* frust) { - for (int i = 0; i < 8; i++) { mAgentFrustum[i] = frust[i]; |