Skip to content

cf_draw_shape_group_op

Category: draw
GitHub: cute_draw.h


Sets the boolean op (and optional smoothing) applied to subsequent operands in the current shape group.

void cf_draw_shape_group_op(CF_ShapeOp op, float smoothing);
Parameters Description
op How following shapes fold into the composite. See CF_ShapeOp.
smoothing 0 for hard edges, or a distance (world units) for smooth polynomial blending -- surfaces
within smoothing of each other melt together (great for organic/metaball looks).

CF_ShapeOp
cf_draw_shape_group_begin
cf_draw_shape_group_end