sides

fun sides(sides: Int): Sphere

Returns a new Sphere with the same radius, but a different number of sides. Note, you can specify the number of sides in the constructor, which is easier to use than this method. I keep this here for consistency with Circle and Cylinder.


val sides: Int