scaleToUnitCube

fun scaleToUnitCube(units: Float = 1.0f)

Sets up a root transform on the current model to make it fit into a unit cube.

Parameters

units

the number of units of the cube to scale into.