Esempio n. 1
0
 public static Vector2f Lerp(Vector2f from, Vector2f to, float t)
 {
     return(from + ((to - from) * t));
 }
Esempio n. 2
0
 public float Dot(Vector2f b)
 {
     return(this.X * b.X + this.Y * b.Y);
 }