makeCube

Creates a cube with specified colors for its faces.

Return

An ArModel representing the cube.


fun makeCube(colors: Array<EvsColor> = arrayOf( EvsColor.Orange, EvsColor.Red, EvsColor.Green, EvsColor.Blue, EvsColor.White, EvsColor.Cyan )): ArModel

Creates a cube with specified colors for its faces.

Return

An ArModel representing the cube.

Parameters

colors

An array of EvsColor objects representing the colors of the cube's faces.