mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Removed unused vertex colors from GFXWaterVertex
This commit is contained in:
parent
2044b2691e
commit
9c6ff1775b
6 changed files with 0 additions and 13 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue