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