PI-12_Zaytsev_A.V_LabWork01_Base #4

Closed
tyxzo wants to merge 5 commits from lab1 into main
Showing only changes of commit 8d4d56e692 - Show all commits

View File

@ -65,9 +65,12 @@ public class DrawingDoubleDeckerBus
return;
}
if (x < 0 || y < 0)
if (x < 0)
{
x = -x;
}
if (y < 0)
{
y = -y;
}