cornerPosition(_:)

Returns the inner corner position in the range output from the voxel index you provide.

VoxelScale.swift:39
func cornerPosition(_ index: VoxelIndex) -> SIMD3<T> where T : FixedWidthInteger

Parameters

index

The voxel’s index.

Returns

The inner corner (closest to the origin) of the voxel.