adding(_:_:_:)
Returns a new voxel index offset from the current by the axis-aligned index values you provide.
func adding(_ x: Int, _ y: Int, _ z: Int) -> VoxelIndex
Parameters
A convenience function for shifting a VoxelIndex
so that you don’t have to create a new relative VoxelIndex
to use with adding(_:)
.