Instance Methodheckj.voxels 0.2.6Voxels
expand(_:)
Expands the bounds by increasing both the maximum and minimum away from the bounds midpoint.
func expand(_ amount: Int = 1) -> VoxelBounds
Parameters
- amount
The amount to expand, default of 1.
Returns
the expanded bounds.