protected bool Equals(Vect2f other) { return(X.NearlyEquals(other.X) && Y.NearlyEquals(other.Y)); }
public Vect2f Lerp(Vect2f end, float t) { return((1 - t) * this + t * end); }
/// <summary> /// Calculate the Dot Product /// </summary> /// <param name="v"></param> /// <returns></returns> public float DotProduct(Vect2f v) { return(X * v.X + Y * v.Y); }