diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-25 03:55:01 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-25 03:55:01 -0500 |
commit | e6fe3b1f1aa888e4594c89154ef895b3cf5498e9 (patch) | |
tree | aa40dffc20582b66ba7263a4215d71fd8c2297eb /indra/newview/llvograss.cpp | |
parent | 051d55e9e417d1f70e4a0dcee0035f6e2a413792 (diff) |
Better vectorization of various things. Turn off debug gl by default.
Diffstat (limited to 'indra/newview/llvograss.cpp')
-rw-r--r-- | indra/newview/llvograss.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llvograss.cpp b/indra/newview/llvograss.cpp index b40e6af496..d2842fd62c 100644 --- a/indra/newview/llvograss.cpp +++ b/indra/newview/llvograss.cpp @@ -594,9 +594,9 @@ BOOL LLVOGrass::lineSegmentIntersect(const LLVector3& start, const LLVector3& en LLVector2 tc[4]; LLVector3 v[4]; - // LLVector3 n[4]; // unused! + LLVector3 n[4]; - // F32 closest_t = 1.f; // unused! + F32 closest_t = 1.f; for (S32 i = 0; i < mNumBlades; i++) { @@ -640,8 +640,6 @@ BOOL LLVOGrass::lineSegmentIntersect(const LLVector3& start, const LLVector3& en position.mV[2] += blade_height; v[3] = v1 = position + mRegionp->getOriginAgent(); -#if 0 //VECTORIZE THIS - F32 a,b,t; BOOL hit = FALSE; @@ -704,7 +702,6 @@ BOOL LLVOGrass::lineSegmentIntersect(const LLVector3& start, const LLVector3& en } } } -#endif } return ret; |