|
|
Draws a capsule.
- Parameters
-
| startPoint | Point in the center of the first end sphere. |
| endPoint | Point in the center of the second end sphere. |
| radius | Radius of the capsule. |
| segments | Number of segments (Subdivisions around the capsule). |
| slices | Number of slices (Subdivisions down the capsule). |
| colour | Colour of capsule. |
| mat | World matrix for rendering. |
| wireframe | Renders the capsule in wireframe. |
- Returns
- None.
|