Gel2D - The free/open source game creation suite

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

#include <gelCollision.h>

List of all members.

Public Member Functions

 GelRay ()
 Default constructor.
 GelRay (Gel2dVec _start, Gel2dVec _end)
 Convenience constructor.

Public Attributes

Gel2dVec start
Gel2dVec end

Constructor & Destructor Documentation

gel::GelRay::GelRay ( ) [inline]

Default constructor.

Sets the ray's start location to (0, 0), and its end to (1, 1).

gel::GelRay::GelRay ( Gel2dVec  _start,
Gel2dVec  _end 
) [inline]

Convenience constructor.

Parameters:
_start: The ray's start location.
_end: The ray's end location.

Member Data Documentation


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