diff options
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/llmath/llvolume.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 7751ef87ee..317d15f84e 100755 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -5604,16 +5604,16 @@ BOOL LLVolumeFace::createCap(LLVolume* volume, BOOL partial_build)  	LLVector4a binormal;  	calc_binormal_from_triangle(binormal,  		*mCenter, cuv, -		pos[0], tc[0], -		pos[1], tc[1]); +		mPositions[0], mTexCoords[0], +		mPositions[1], mTexCoords[1]);  	binormal.normalize3fast();  	LLVector4a normal;  	LLVector4a d0, d1; -	d0.setSub(*mCenter, pos[0]); -	d1.setSub(*mCenter, pos[1]); +	d0.setSub(*mCenter, mPositions[0]); +	d1.setSub(*mCenter, mPositions[1]);  	if (mTypeMask & TOP_MASK)  	{ | 
