Companion

Properties

Link copied to clipboard
const val MAX_SIZE: Int = 129

The largest grid parse takes, which is well past the 65 points a grading tool exports.

Link copied to clipboard
const val MIN_SIZE: Int = 2

The smallest grid a .cube table can hold, by the format's own rule.

Functions

Link copied to clipboard
fun identity(size: Int): CubeLut

The table that leaves every code where it is, at size grid points along each axis.

Link copied to clipboard
fun parse(text: String): CubeLut

Parses the text of a .cube file.