Gel2D - The free/open source game creation suite

Public Member Functions | Public Attributes
gel::GelAABB Class Reference

Axis-aligned bounding box for collision testing. More...

#include <gelCollision.h>

List of all members.

Public Member Functions

 GelAABB ()
 Default constructor.
 GelAABB (Gel2dVec minpos, Gel2dVec maxpos)
 Convenience constructor.

Public Attributes

Gel2dVec min
Gel2dVec max

Detailed Description

Axis-aligned bounding box for collision testing.


Constructor & Destructor Documentation

gel::GelAABB::GelAABB ( ) [inline]

Default constructor.

Sets the box's minimum position to (0, 0), and its maximum to (1, 1).

gel::GelAABB::GelAABB ( Gel2dVec  minpos,
Gel2dVec  maxpos 
) [inline]

Convenience constructor.

Parameters:
minpos: The box's minimum position.
maxpos: The box's maximum position.

Member Data Documentation


The documentation for this class was generated from the following file: