diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 19:00:30 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-03 19:00:30 +0000 |
commit | a4aca0ba1c3efc4ddb9e01a332d3a9c1f16e49d0 (patch) | |
tree | f0160df18e32f68df91fbbf4d2219bf59c137541 /indra/llmath | |
parent | df0d43054c504a3bd7b18298b1d339e95965a9fb (diff) |
CID-288
Checker: UNINIT_CTOR
Function: LLCamera::LLCamera(float, float, int, float, float)
File: /indra/llmath/llcamera.cpp
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llcamera.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmath/llcamera.cpp b/indra/llmath/llcamera.cpp index 89c32be8cd..487ed6451f 100644 --- a/indra/llmath/llcamera.cpp +++ b/indra/llmath/llcamera.cpp @@ -56,7 +56,8 @@ LLCamera::LLCamera(F32 vertical_fov_rads, F32 aspect_ratio, S32 view_height_in_p LLCoordFrame(), mViewHeightInPixels(view_height_in_pixels), mFixedDistance(-1.f), - mPlaneCount(6) + mPlaneCount(6), + mFrustumCornerDist(0.f) { mAspect = llclamp(aspect_ratio, MIN_ASPECT_RATIO, MAX_ASPECT_RATIO); mNearPlane = llclamp(near_plane, MIN_NEAR_PLANE, MAX_NEAR_PLANE); |