GeometrySingleton.buildCylinderPlanes

Returns an array of Planes closely bounding a faceted cylinder centered at the origin with radius radius and height height. The parameter sides defines how many planes will be generated for the round part of the cylinder. The parameter axis describes the axis along which the cylinder is oriented (0 for X, 1 for Y, 2 for Z).

struct GeometrySingleton
@nogc nothrow
Array
buildCylinderPlanes
(
in double radius
,
in double height
,
in long sides
,
in long axis = 2
)

Meta