Buckets

class Buckets(pool: Pool<PolygonScanline.Bucket>, val ySize: Int)

Constructors

Link copied to clipboard
constructor(pool: Pool<PolygonScanline.Bucket>, ySize: Int)

Properties

Link copied to clipboard
val size: Int
Link copied to clipboard
val ySize: Int

Functions

Link copied to clipboard
fun addThresold(edge: MEdge, threshold: Int = Int.MAX_VALUE): Boolean
Link copied to clipboard
fun clear()
Link copied to clipboard
inline fun fastForEachY(y: Int, block: (edge: MEdge) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getIndex(y: Int): Int