diff options
author | Drake Arconis <drake@alchemyviewer.org> | 2016-11-19 22:25:39 -0500 |
---|---|---|
committer | Drake Arconis <drake@alchemyviewer.org> | 2016-11-19 22:25:39 -0500 |
commit | fb9cb882728f512216538d185ff3caeff6f8b148 (patch) | |
tree | a7b1b999c1bd7d1d9db21f2a17e0993d74db76a2 /indra | |
parent | a088a12992e8741b3a41781179aae69dc8a83adb (diff) |
STORM-2143 Correct vertex winding of stars
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvowlsky.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llvowlsky.cpp b/indra/newview/llvowlsky.cpp index 90bc6509a6..16130b5ca7 100644 --- a/indra/newview/llvowlsky.cpp +++ b/indra/newview/llvowlsky.cpp @@ -810,18 +810,18 @@ BOOL LLVOWLSky::updateStarGeometry(LLDrawable *drawable) up *= sc; *(verticesp++) = mStarVertices[vtx]; - *(verticesp++) = mStarVertices[vtx]+left; + *(verticesp++) = mStarVertices[vtx]+up; *(verticesp++) = mStarVertices[vtx]+left+up; - *(verticesp++) = mStarVertices[vtx]+left; + *(verticesp++) = mStarVertices[vtx]; *(verticesp++) = mStarVertices[vtx]+left+up; - *(verticesp++) = mStarVertices[vtx]+up; + *(verticesp++) = mStarVertices[vtx]+left; - *(texcoordsp++) = LLVector2(0,0); - *(texcoordsp++) = LLVector2(0,1); + *(texcoordsp++) = LLVector2(1,0); *(texcoordsp++) = LLVector2(1,1); *(texcoordsp++) = LLVector2(0,1); - *(texcoordsp++) = LLVector2(1,1); *(texcoordsp++) = LLVector2(1,0); + *(texcoordsp++) = LLVector2(0,1); + *(texcoordsp++) = LLVector2(0,0); *(colorsp++) = LLColor4U(mStarColors[vtx]); *(colorsp++) = LLColor4U(mStarColors[vtx]); |