Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 10, 2020
1 parent c2e4283 commit 54a9fe6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/qgstessellator.cpp
Expand Up @@ -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
Expand All @@ -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
{
Expand All @@ -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 );
Expand Down

0 comments on commit 54a9fe6

Please sign in to comment.