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