STORM-2143 Correct vertex winding of stars

master
Drake Arconis 2016-11-19 22:25:39 -05:00
parent c331bcf184
commit 07bb7bc846
2 changed files with 11 additions and 9 deletions

View File

@ -1250,6 +1250,7 @@ Shnurui Troughton
Shyotl Kuhr
MAINT-1138
MAINT-2334
STORM-2143
Siana Gearz
STORM-960
STORM-1088
@ -1283,6 +1284,7 @@ Sovereign Engineer
MAINT-6107
STORM-2107
MAINT-6218
STORM-2143
SpacedOut Frye
VWR-34
VWR-45

View File

@ -817,18 +817,18 @@ BOOL LLVOWLSky::updateStarGeometry(LLDrawable *drawable)
up *= sc;
*(verticesp++) = mStarVertices[vtx];
*(verticesp++) = mStarVertices[vtx]+left;
*(verticesp++) = mStarVertices[vtx]+left+up;
*(verticesp++) = mStarVertices[vtx]+left;
*(verticesp++) = mStarVertices[vtx]+left+up;
*(verticesp++) = mStarVertices[vtx]+up;
*(verticesp++) = mStarVertices[vtx]+left+up;
*(verticesp++) = mStarVertices[vtx];
*(verticesp++) = mStarVertices[vtx]+left+up;
*(verticesp++) = mStarVertices[vtx]+left;
*(texcoordsp++) = LLVector2(0,0);
*(texcoordsp++) = LLVector2(0,1);
*(texcoordsp++) = LLVector2(1,1);
*(texcoordsp++) = LLVector2(0,1);
*(texcoordsp++) = LLVector2(1,1);
*(texcoordsp++) = LLVector2(1,0);
*(texcoordsp++) = LLVector2(1,1);
*(texcoordsp++) = LLVector2(0,1);
*(texcoordsp++) = LLVector2(1,0);
*(texcoordsp++) = LLVector2(0,1);
*(texcoordsp++) = LLVector2(0,0);
// <FS:ND> Only convert to LLColour4U once