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, struct vg3_window *wstruct, struct vg3_image *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 (from VGAG3_COLORS or VGAG3_COLOR_CUSTOM)
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() VG3_coll_q_getobjs()