Gel2D - The free/open source game creation suite

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

Bounding circle for collision testing. More...

#include <gelCollision.h>

List of all members.

Public Member Functions

 GelCircle ()
 Default constructor.
 GelCircle (Gel2dVec _pos, float _radius)
 Convenience constructor.

Public Attributes

Gel2dVec pos
float radius

Detailed Description

Bounding circle for collision testing.


Constructor & Destructor Documentation

gel::GelCircle::GelCircle ( ) [inline]

Default constructor.

Sets the circle's position to (0, 0), and its radius to 1.

gel::GelCircle::GelCircle ( Gel2dVec  _pos,
float  _radius 
) [inline]

Convenience constructor.

Parameters:
_pos: The circle's position.
_radius: The circle's radius.

Member Data Documentation


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