public static Vector2 LenDir(float length, float dir) { return(new Vector2(FeMath.Cos(dir), FeMath.Sin(dir)) * length); }
public static Vector2 Floor(Vector2 vec) { return(new Vector2(FeMath.Floor(vec.X), FeMath.Floor(vec.Y))); }