-
Notifications
You must be signed in to change notification settings - Fork 0
B2d_shape_remove_point
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Removes the given point from the given shape.
| Parameter | Description |
|---|---|
| id | index of the shape |
| pn | nth point to remove |
void: This function does not return anything.
// demonstrates removing the last point of a shape
b2d_shape_add_point(myshape, width, -height);
b2d_shape_add_point(myshape, width, height);
b2d_shape_add_point(myshape, -width, height);
b2d_shape_remove_point(myshape, 2);
NOTOC
This is number 1