Circle

object Circle(source)

Contains the core circle generator functions.

Functions

Link copied to clipboard

Builds a set using produceCirclePositions.

Link copied to clipboard
Link copied to clipboard
inline fun produceCirclePositions(radius: Int, crossinline consumer: (Pos2i) -> Unit)

Produces positions for a hollow circle around x=0, z=0.

Link copied to clipboard
inline fun produceFilledCirclePositions(radius: Int, consumer: (Pos2i) -> Unit)

Produces positions for a filled circle around x=0, z=0.