23.02.2017, 12:15
(
Последний раз редактировалось BroZeus; 23.02.2017 в 16:59.
)
'i' was only needed if values were not being added to pX and pY, see carefully that i wrote "pX +=" So it keeps on adding distance in every iteration of loop