Skip to content

cf_draw_capsule_fill2

Category: draw
GitHub: cute_draw.h


Draws a capsule.

void cf_draw_capsule_fill2(CF_V2 p0, CF_V2 p1, float r);
Parameters Description
p0 An endpoint of the interior line-segment of the capsule (the center of one end-cap).
p1 An endpoint of the interior line-segment of the capsule (the center of one end-cap).
r Radius of the capsule.

cf_draw_capsule
cf_draw_capsule2
cf_draw_capsule_fill