NL3D::CEdge Struct Reference


Public Member Functions

 CEdge (const NLMISC::CVector2f &p1, const NLMISC::CVector2f &p2)

Data Fields

NLMISC::CVector2f P1
NLMISC::CVector2f P2

Constructor & Destructor Documentation

NL3D::CEdge::CEdge const NLMISC::CVector2f p1,
const NLMISC::CVector2f p2
[inline]
 

Definition at line 38 of file quad_effect.cpp.

References NLMISC::CVector2f::y.

00039         {
00040                 if (p1.y < p2.y)
00041                 {
00042                         P1 = p1;
00043                         P2 = p2;
00044                 }
00045                 else
00046                 {
00047                         P2 = p1;
00048                         P1 = p2;
00049                 }
00050         }


Field Documentation

NLMISC::CVector2f NL3D::CEdge::P1
 

Definition at line 52 of file quad_effect.cpp.

Referenced by NL3D::operator<().

NLMISC::CVector2f NL3D::CEdge::P2
 

Definition at line 52 of file quad_effect.cpp.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 06:46:24 2004 for NeL by doxygen 1.3.6