Homeworld Effects Manual: setCircleSlices()

setCircleSlices(int num)

Useful values: Integers 3 or greater

Default value: 8

Circles will be created as num-gons.

The circles created by the createCircles() command are not actually circles. They are regular polygons. Remember those from geometry class? They approximate circles well and are much easier for a computer to process. By default they are octagons, but with setCircleSlices() you can change them to triangles, pentagons, or, umm, eighteenagons. Think of it as a pie. num is how many slices there are in the pie.

setCircleSlices(8)

setCircleSlices(3)

setCircleSlices(37)