Exemple #1
0
 public static FixedPoint GetAngleBetweenVectors(FixedPointVector2 v1, FixedPointVector2 v2)
 {
     return(FixedPoint.Atan2(
                v1.X * v2.Y - v2.X * v1.Y,
                v1.X * v2.X + v1.Y * v2.Y
                ));
 }