Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline float get_midpoint( float x1, float y1, float x2, float y2)
- {
- return (float) sqrt ( square(x2 - x1) + square(y2 - y1) );
- }
- float get_distance_from_start(float x1, float y1, float x2, float y2, float distance);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement