-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawTriangleFan
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw a triangle fan defined by points NOTE: First vertex provided is the center, shared by all triangles By default, following vertex should be provided in counter-clockwise order
| Parameter | Default Value | Note |
|---|---|---|
| points | ||
| color | WHITE |
None.
// Draw a triangle fan — first point is the shared center
pts = [[200, 150], [150, 50], [250, 50], [300, 150], [250, 250], [150, 250]]
raylib.DrawTriangleFan pts, raylib.SKYBLUE