VgaGames 3 - Collision-detection man-pages

[.. upper level ..]

VG3_coll_q_mark()

Mark all object-instances in a quadtree with a rectangle.
SYNTAX
void VG3_coll_q_mark(struct vg3_quadtree *qdtr, void *wstruct, void *imgptr, int color, const char *oid)

FUNCTION PARAMETERS
qdtr Quadtree
wstruct Window-struct
imgptr Where to draw the rectangles: image or NULL = window
color Color of the rectangles
oid If not NULL mark only object-instances of this object-ID

DESCRIPTION
Mark all or a subclass of object-instances in a quadtree with a rectangle. This is mainly used for debug purposes.

SEE ALSO
VG3_coll_q_insert() VG3_coll_q_remove() VG3_coll_q_getobj()