mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Fix Y-inverted lines not drawing
This commit is contained in:
@@ -179,7 +179,7 @@ static void PlotLine(PortabilityLayer::QDState *qdState, PortabilityLayer::QDPor
|
||||
PortabilityLayer::LinePlotter plotter;
|
||||
plotter.Reset(upperPoint, lowerPoint);
|
||||
|
||||
PortabilityLayer::Vec2i currentPoint = pointA;
|
||||
PortabilityLayer::Vec2i currentPoint = upperPoint;
|
||||
while (currentPoint.m_x < constrainedRect.left || currentPoint.m_y < constrainedRect.top || currentPoint.m_x >= constrainedRect.right)
|
||||
{
|
||||
PortabilityLayer::PlotDirection plotDir = plotter.PlotNext();
|
||||
|
Reference in New Issue
Block a user