main = (params) => {
  if (params.rounded === 1) {
    return roundedCuboid({ size: [params.width, params.height, params.depth], roundRadius: params.radius, segments: 32 })
  } else {
    return cuboid({ size: [params.width, params.height, params.depth] })
  }
}
Create a rounded cuboid with the supplied parameters
@param {Number} params.width - The cuboid's width.
@param {Number} params.depth - The cuboid's depth.
@param {Number} params.height - The cuboid's height.
@param {Number} params.rounded - 1 if the cuboid should be rounded, 0 otherwise.
@param {Number} params.radius - The cuboid's corner radius.
@returns {geometry}