Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
graphics.library
NAME
SetCollision
Set a pointer to a user collision routine.
SYNOPSIS
SetCollision(num, routine, GInfo)
D0 A0 A1
void SetCollision(ULONG, VOID (*)(), struct GelsInfo *);
FUNCTION
Sets a specified entry (num) in the user's collision vectors table equal to the address of the specified collision routine.
INPUTS
num
collision vector number
routine
pointer to the user's collision routine
GInfo pointer to a GelsInfo structure
SEE ALSO
InitGels()
graphics/gels.h <graphics/rastport.h>