createCube method
Mesh
createCube({})
override
Creates and returns a cube mesh.
Implementation
@override
Mesh createCube(
{required double sideLength, List<MeshBasicMaterial>? materials}) {
final BoxGeometry geometry =
BoxGeometry(sideLength, sideLength, sideLength);
return createObject(geometry, materials);
}