|void||createRegularPrism (int nSides, float radius, float height, point3d_t *points)|
|creates a 3D prism whose base is a regular N-polygon, with specified radius and height. |
creates a 3D prism whose base is a regular N-polygon, with specified radius and height.
Caller must provide an array big enough to hold 2*nSides points. That array is populated on output. The polygons are in the xz plane, separated by distance height in the y direction.