Assets/VoxelTerrain/Core/Utilities/VectorUtilities.cs
/// <summary>
/// Converts an int3 value to Vector3Int
/// </summary>
/// <param name="n">The int3 value to convert</param>
/// <returns>The converted value</returns>
Converts an int3 value to Vector3Int
Converts an int3 value to Vector3Int
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static Vector3Int ToVectorInt(this int3 n)
        {
            return new Vector3Int(n.x, n.y, n.z);
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static Vector3Int ToVectorInt ( this int3 n ) { return new Vector3Int ( n . x , n . y , n . z ) ; }
Converts an int3 value to Vector3Int
Converts an int3 value to Vector3Int
The converted value
The converted value
int3
this
n
The int3 value to convert
The int3 value to convert