-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawCylinder
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Draw a cylinder NOTE: It could be also used for pyramid and cone
| Parameter | Default Value | Note |
|---|---|---|
| position | ||
| radiusTop | 1.0 | |
| radiusBottom | 1.0 | |
| height | 2.0 | |
| slices | 16 | |
| color | WHITE |
None.
// Inside BeginMode3D / EndMode3D:
raylib.DrawCylinder [0,0,0], 0.5, 0.5, 2.0, 16, raylib.GREEN