Bugfixes. Should fix bizarre cam behavior and lighting issues on carved/hollowed prims.

This commit is contained in:
Shyotl
2011-07-20 15:07:58 -05:00
parent bc221a573e
commit fe0cd9f702
5 changed files with 7 additions and 5 deletions

View File

@@ -3819,7 +3819,7 @@ S32 LLVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a& en
LLVector4a pos[3];
pos[0].load3(face.mVertices[index1].mPosition.mV);
pos[1].load3(face.mVertices[index2].mPosition.mV);
pos[2].load3(face.mVertices[index2].mPosition.mV);
pos[2].load3(face.mVertices[index3].mPosition.mV);
if (LLTriangleRayIntersect(pos[0],
pos[1],
pos[2],
@@ -4973,7 +4973,7 @@ BOOL LLVolumeFace::createCap(LLVolume* volume, BOOL partial_build)
LLVector4a pos[2];
pos[0].load3(mVertices[0].mPosition.mV);
pos[1].load3(mVertices[0].mPosition.mV);
pos[1].load3(mVertices[1].mPosition.mV);
LLVector4a normal;
LLVector4a d0, d1;