33 return sqrt(static_cast<double>(xd * xd + yd * yd));
56 Angle += NumRadsInCircle;
57 Angle *= FullScale / NumRadsInCircle;
58 if (Angle < 0.0 || Angle >= FullScale)
FLOAT32 NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, FLOAT32 FullScale)
FLOAT32 DistanceBetween(FPOINT A, FPOINT B)