B2d_shape_box - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Sets the given shape to a box with the given bounds.
Parameters
Parameter | Description |
---|---|
id | index of the shape |
halfwidth | half of the width of the box |
halfheight | half of the height of the box |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting a shape to a box 10metres*10metres
b2d_shape_box(myshape, 5, 5);
NOTOC