public static Vector2 EpsilonRound(this Vector2 v) { Vector2 floor = v.Floor(); Vector2 subTract = v - floor; if (subTract.X < Maths.EPSILON) { v.X = floor.X; } if (subTract.Y < Maths.EPSILON) { v.Y = floor.Y; } return(v); }