Skip to content
Permalink
Browse files

Remove unused variable

  • Loading branch information
nyalldawson committed Jul 10, 2020
1 parent c2e4283 commit 54a9fe6deed759f0427ebe19c6585b8f71f72731
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/core/qgstessellator.cpp
@@ -61,8 +61,6 @@ static void make_quad( float x0, float y0, float z0, float x1, float y1, float z
float u2, v2;
float u3, v3;

float ox, oy;

QVector<double> textureCoordinates;
textureCoordinates.reserve( 12 );
// select which side of the coordinates to use (x, z or y, z) depending on which side is smaller
@@ -80,9 +78,6 @@ static void make_quad( float x0, float y0, float z0, float x1, float y1, float z

u3 = x1;
v3 = z1;

ox = ( x0 + x1 ) / 2.0f;
oy = ( z0 + z1 ) / 2.0f;
}
else
{
@@ -98,8 +93,6 @@ static void make_quad( float x0, float y0, float z0, float x1, float y1, float z

u3 = -y1;
v3 = z1;
ox = ( -y0 - y1 ) / 2.0f;
oy = ( z0 + z1 ) / 2.0f;
}

textureCoordinates.push_back( u0 );

0 comments on commit 54a9fe6

Please sign in to comment.
You can’t perform that action at this time.