Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LineCollideStar Struct Reference

A sortable line collide object that will sort by object addr for dup elim. More...

#include <gl_light.h>

Public Member Functions

 LineCollideStar ()
 
bool operator== (const LineCollideStar &b) const
 
bool operator< (const LineCollideStar &b) const
 
int GetIndex ()
 

Public Attributes

LineCollidelc
 

Detailed Description

A sortable line collide object that will sort by object addr for dup elim.

Definition at line 138 of file gl_light.h.

Constructor & Destructor Documentation

LineCollideStar::LineCollideStar ( )
inline

Definition at line 141 of file gl_light.h.

References lc.

142  {
143  lc = NULL;
144  }

Member Function Documentation

int LineCollideStar::GetIndex ( )
inline

Definition at line 153 of file gl_light.h.

References lc, and LineCollide::object.

154  {
155  return *( (int*) (&lc->object.i) );
156  }
bool LineCollideStar::operator< ( const LineCollideStar b) const
inline

Definition at line 149 of file gl_light.h.

References lc, and LineCollide::object.

150  {
151  return *( (int*) &(lc->object.i) ) < *( (int*) &(b.lc->object.i) );
152  }
bool LineCollideStar::operator== ( const LineCollideStar b) const
inline

Definition at line 145 of file gl_light.h.

References lc, and LineCollide::object.

146  {
147  return lc->object.i == b.lc->object.i;
148  }

Member Data Documentation


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