Ejemplo n.º 1
0
 public Fix64 AngleToRad(Fix64Vector2 b)
 {
     return(Fix64.ReduceAngleRadians(Fix64.Atan2((this.Y - b.Y), (b.X - this.X))));
 }
Ejemplo n.º 2
0
 public Fix64 AngleTo(Fix64Vector2 b)
 {
     return(Fix64.ReduceAngle(Fix64.ToDegress(Fix64.Atan2((this.Y - b.Y), (b.X - this.X)))));
 }