Skip to content

Commit

Permalink
Remove unused calculation
Browse files Browse the repository at this point in the history
(cherry picked from commit 50315c4)
  • Loading branch information
nyalldawson committed Jun 10, 2019
1 parent 8bf2e91 commit 626d294
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/pal/feature.cpp
Expand Up @@ -1801,8 +1801,6 @@ bool FeaturePart::nextCharPosition( double charWidth, double segmentLength, Poin
}
segmentEndX = path_positions->x[index];
segmentEndY = path_positions->y[index];
segmentDx = segmentEndX - segmentStartX;
segmentDy = segmentEndY - segmentStartY;
}
while ( std::sqrt( std::pow( characterStartX - segmentEndX, 2 ) + std::pow( characterStartY - segmentEndY, 2 ) ) < charWidth ); // Distance from start_ to new_

Expand Down

0 comments on commit 626d294

Please sign in to comment.