B2d_shape_set_point - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the nth point of a shape.
Parameter | Description |
---|---|
id | index of the shape |
pn | nth point of the shape to set |
x | x coordinate of the point |
y | y coordinate |
void: This function does not return anything.
// demonstrates setting the third point of a shape
b2d_shape_set_point(myshape, 2, 50, 50);
NOTOC