insetQuadrant(_:)

Insets the bounds by decreasing the maximum size by the amount you provide, collapsing down to the minimum bounds.

VoxelBounds.swift:86
func insetQuadrant(_ amount: Int = 1) -> VoxelBounds

Parameters

amount

The amount to inset, default of 1.

Returns

the inset bounds.