diff options
author | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-09-23 20:28:23 +0300 |
---|---|---|
committer | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-09-23 20:28:23 +0300 |
commit | 089081dc802a8efb41d3eda7b2eec6f9637f1c4b (patch) | |
tree | 6d08c1ef1cd3691ab225a0c281d002b9d2af62cb /indra/newview/llface.cpp | |
parent | 3e934d5089abacbfb1c7bfbaff4a2d415587bfbb (diff) | |
parent | 3bfac42f07b1896bea3fd1ece762c56e3f1fc819 (diff) |
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rwxr-xr-x | indra/newview/llface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 4944de6030..197d1fa854 100755 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1984,7 +1984,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLMatrix4a mat_vert; mat_vert.loadu(mat_vert_in); - + F32* dst = (F32*) vert.get(); F32* end_f32 = dst+mGeomCount*4; @@ -1995,7 +1995,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLVector4a res0; //,res1,res2,res3; - + LLVector4a texIdx; S32 index = mTextureIndex < 255 ? mTextureIndex : 0; @@ -2046,14 +2046,14 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, }*/ while (src < end) - { + { mat_vert.affineTransform(*src++, res0); tmp.setSelectWithMask(mask, texIdx, res0); tmp.store4a((F32*) dst); dst += 4; } } - + { //LLFastTimer t(FTM_FACE_POSITION_PAD); while (dst < end_f32) @@ -2079,7 +2079,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLVector4a* end = src+num_vertices; while (src < end) - { + { LLVector4a normal; mat_normal.rotate(*src++, normal); normal.store4a(normals); |