public static void Round(ref Vector2 vector, out Vector2 result) { result.X = (float)Math.Round(vector.X); result.Y = (float)Math.Round(vector.Y); }