public bool Equals(Ray2F v, float epsilon) { if (!Origin.Equals(v.Origin, epsilon)) { return(false); } if (!Direction.Equals(v.Direction, epsilon)) { return(false); } return(true); }
public Ray2(Ray2F source) { Origin = source.Origin.ToVector2(); Direction = source.Direction.ToVector2(); }
public Ray2F(Ray2F source) { Origin = source.Origin; Direction = source.Direction; }