public static RightAngleRotations Add(RightAngleRotations r1, RightAngleRotations r2) { return (RightAngleRotations)(((int)r1 + (int)r2) % 4); }
public static float ToRadians(RightAngleRotations r) { return MathHelper.PiOver2 * (int)r; }