VG3_coll_q_getobj()
Get collision values for an object-instance from a quadtree.SYNTAX
int
VG3_coll_q_getobj(struct vg3_quadtree *qdtr,
void *optr,
struct vg3_coll *coll)
FUNCTION PARAMETERS
qdtr | Quadtree |
optr | Object-instance (see element optr of struct vg3_coll) |
coll | For returning related collision values |
RETURN VALUE
Returns integer:
- 0: Object-instance not found
- 1: Object-instance found
DESCRIPTION
Get collision values for an object-instance from a quadtree.
This is mainly the information of the collision rectangle
and mostly useful only for debug purposes.
SEE ALSO