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/llface.cpp | |
| parent | 051d55e9e417d1f70e4a0dcee0035f6e2a413792 (diff) | |
Better vectorization of various things. Turn off debug gl by default.
Diffstat (limited to 'indra/newview/llface.cpp')
| -rw-r--r-- | indra/newview/llface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 679875e6bd..db3c5cca33 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1216,18 +1216,18 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLVector3 vf_binormal; if (vf.mBinormals) { - vf_binormal.set(vf.mBinormals+i*4); + vf_binormal.setVec(vf.mBinormals[i].getF32()); } LLVector3 vf_normal; - vf_normal.set(vf.mNormals+i*4); + vf_normal.set(vf.mNormals[i].getF32()); LLVector3 vf_position; - vf_position.set(vf.mPositions+i*4); + vf_position.set(vf.mPositions[i].getF32()); if (rebuild_tcoord) { - LLVector2 tc(vf.mTexCoords+i*2); + LLVector2 tc(vf.mTexCoords[i]); if (texgen != LLTextureEntry::TEX_GEN_DEFAULT) { |
