-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawCylinderEx
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Draw a cylinder with base at startPos and top at endPos NOTE: It could be also used for pyramid and cone
| Parameter | Default Value | Note |
|---|---|---|
| startPos | ||
| endPos | ||
| startRadius | 1.0 | |
| endRadius | 1.0 | |
| sides | 16 | |
| color | WHITE |
None.
// Inside BeginMode3D / EndMode3D:
raylib.DrawCylinderEx [0,0,0], [0,3,0], 0.5, 0.5, 16, raylib.BLUE