38#define XDelta(A, B) ((B).x - (A).x)
39#define YDelta(A, B) ((B).y - (A).y)
40#define SlopeFrom(A, B) (YDelta(A, B) / XDelta(A, B))
41#define AngleFrom(A, B) (atan2((double)YDelta(A, B), (double)XDelta(A, B)))
43#define XIntersectionOf(A, B, X) (SlopeFrom(A, B) * ((X)-A.x) + A.y)
float DistanceBetween(FPOINT A, FPOINT B)
float NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, float FullScale)