Instance Methodheckj.voxels 0.2.6Voxels
cornerPosition(_:)
Returns the inner corner position in the range output from the voxel index you provide.
func cornerPosition(_ index: VoxelIndex) -> SIMD3<T> where T : BinaryFloatingPoint
Parameters
- index
The voxel’s index.
Returns
The inner corner (closest to the origin) of the voxel.