-
Notifications
You must be signed in to change notification settings - Fork 0
B2d_shape_get_point_x
hugh greene edited this page Jun 20, 2022
·
1 revision
Gets the x coordinate of the nth point of a given shape.
Parameter | Description |
---|---|
id | index of the shape |
pn | nth point of the shape to get |
double: Returns the x coordinate of the nth point of the given shape.
// demonstrates getting the x coordinate of the second point of a shape
px = b2d_shape_get_point_x(myshape, 1);
NOTOC
edited by hpg678 on Github