I’m in the middle of the selected line code, and I don’t get the following code:
float x = start.x + t * (end.x - start.x);
float y = start.y + t * (end.y - start.y);
The part I don’t get is why the x coordinate plus the little approaches defined by the cycle are multiplied by the line length…
Can anyone slap my bald head and explain it to me please?