Reign.Core.Vector2.Round C# (CSharp) Method

Round() public static method

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

Same methods

Vector2::Round ( ) : Vector2