Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 811 Bytes

File metadata and controls

36 lines (22 loc) · 811 Bytes

NAME

DoCollision -- Test every gel in gel list for collisions.

SYNOPSIS

    DoCollision(rp)
                A1

    void DoCollision(struct RastPort *);

Links: RastPort

FUNCTION

Tests each gel in gel list for boundary and gel-to-gel collisions. On detecting one of these collisions, the appropriate collision- handling routine is called. See the documentation for a thorough description of which collision routine is called. This routine expects to find the gel list correctly sorted in Y,X order. The system routine SortGList performs this function for the user.

INPUTS

rp = pointer to a RastPort

RESULT

BUGS

SEE ALSO

InitGels SortGList graphics/gels.h graphics/gels.h