summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-05-25 03:55:01 -0500
committerDave Parks <davep@lindenlab.com>2010-05-25 03:55:01 -0500
commite6fe3b1f1aa888e4594c89154ef895b3cf5498e9 (patch)
treeaa40dffc20582b66ba7263a4215d71fd8c2297eb /indra/newview/llvovolume.cpp
parent051d55e9e417d1f70e4a0dcee0035f6e2a413792 (diff)
Better vectorization of various things. Turn off debug gl by default.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index d57a535050..8022f81f19 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -1868,7 +1868,7 @@ LLVector3 LLVOVolume::getApproximateFaceNormal(U8 face_id)
const LLVolumeFace& face = volume->getVolumeFace(face_id);
for (S32 i = 0; i < (S32)face.mNumVertices; ++i)
{
- result.add(*((LLVector4a*) face.mNormals+i*4));
+ result.add(face.mNormals[i]);
}
LLVector3 ret((F32*) &result.mQ);