cubicMap

fun cubicMap(cubicMap: Image, cubeSize: Float): Mesh
fun cubicMap(cubicMap: Image, cubeSize: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): Mesh

Generates a cubicmap mesh from an image.

Return

The generated mesh.

Parameters

cubicMap

The cubicmap image.

cubeSize

The size of each cube in the cubicmap.


fun cubicMap(cubicMap: Image, width: Float, height: Float, depth: Float): Mesh

Generates a cubicmap mesh from an image.

Return

The generated mesh.

Parameters

cubicMap

The cubicmap image.

width

The width of each cube in the cubicmap.

height

The height of each cube in the cubicmap.

depth

The depth of each cube in the cubicmap.