hgeRect helper class

hgeRect is a HGE helper class for bounding box calculations and collision detection.

hgeRect methods

Constructors Create and initalize hgeRect object.
Operators hgeRect operators.
Clear Clears bounding box.
IsClean Tests if bounding box is clean.
Set Sets bounding box to the specified screen coordinates.
SetRadius Sets up bounding box, based on it's center coordinates and radius.
Encapsulate Encapsulates a point into bounding box.
TestPoint Tests if a point lies within bounding box.
Intersect Tests two bounding boxes for an intersection.

Related information

hgeRect data members


Header: hgerect.h