I wish to determine the length of a line drawn between two points.
Is there a simpler method of doing this than sqrt((x2-x1)^2 + (y2-y1)^2) ? Also if someone knows of a math/trig cheat sheet that would be good for programming, for instance movement and collissions, I'd be very happy :)
Is there a simpler method of doing this than sqrt((x2-x1)^2 + (y2-y1)^2) ? Also if someone knows of a math/trig cheat sheet that would be good for programming, for instance movement and collissions, I'd be very happy :)