Nez.Portable/Utils/Extensions/Vector2Ext.cs
/// <summary>
/// rounds the x and y values in place
/// </summary>
/// <param name="vec">Vec.</param>
rounds the x and y values in place
rounds the x and y values in place
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static void round(ref Vector2 vec)
        {
            vec.X = Mathf.round(vec.X);
            vec.Y = Mathf.round(vec.Y);
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static void round ( ref Vector2 vec ) { vec . X = Mathf . round ( vec . X ) ; vec . Y = Mathf . round ( vec . Y ) ; }
rounds the x and y values in place
rounds the x and y values in place
Vector2
ref
vec
None