Removed unused vertex colors from GFXWaterVertex

This commit is contained in:
rextimmy 2015-10-22 21:54:35 +10:00
parent 2044b2691e
commit 9c6ff1775b
6 changed files with 0 additions and 13 deletions

View file

@ -205,8 +205,6 @@ void WaterBlock::setupVertexBlock( U32 width, U32 height, U32 rowOffset )
U32 numVerts = width * height;
GFXWaterVertex *verts = new GFXWaterVertex[ numVerts ];
ColorI waterColor(31, 56, 64, 127);
GFXVertexColor vertCol(waterColor);
U32 index = 0;
for( U32 i=0; i<height; i++ )
@ -219,7 +217,6 @@ void WaterBlock::setupVertexBlock( U32 width, U32 height, U32 rowOffset )
vert->point.x = vertX;
vert->point.y = vertY;
vert->point.z = 0.0;
vert->color = vertCol;
vert->normal.set(0,0,1);
vert->undulateData.set( vertX, vertY );
vert->horizonFactor.set( 0, 0, 0, 0 );