Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

VERTEX Class Reference

#include <vertex.h>

List of all members.

Public Methods

 VERTEX (float x=0, float y=0, float z=0, float nx=0, float ny=0, float nz=0)
 ~VERTEX ()

Public Attributes

int numVertices
float x
float y
float z
float nx
float ny
float nz
float u
float v


Constructor & Destructor Documentation

VERTEX::VERTEX float    x = 0,
float    y = 0,
float    z = 0,
float    nx = 0,
float    ny = 0,
float    nz = 0
 

Definition at line 5 of file vertex.cpp.

References numVertices.

00006 :
00007     x(sx),
00008     y(sy),
00009     z(sz),
00010     nx(snx),
00011     ny(sny),
00012     nz(snz),
00013     numVertices(3)
00014 {
00015 }

VERTEX::~VERTEX  
 

Definition at line 17 of file vertex.cpp.

00018 {
00019 }


Member Data Documentation

int VERTEX::numVertices
 

Definition at line 12 of file vertex.h.

float VERTEX::nx
 

Definition at line 16 of file vertex.h.

Referenced by GetNorm(), RenderBSP(), PORTAL::SetNormal(), and POLYGON::SetNormal().

float VERTEX::ny
 

Definition at line 17 of file vertex.h.

Referenced by GetNorm(), PORTAL::SetNormal(), and POLYGON::SetNormal().

float VERTEX::nz
 

Definition at line 18 of file vertex.h.

Referenced by GetNorm(), PORTAL::SetNormal(), and POLYGON::SetNormal().

float VERTEX::u
 

Definition at line 19 of file vertex.h.

Referenced by RenderBSP(), SetGLWorld(), and SplitPolygon().

float VERTEX::v
 

Definition at line 20 of file vertex.h.

Referenced by RenderBSP(), SetGLWorld(), and SplitPolygon().

float VERTEX::x
 

Definition at line 13 of file vertex.h.

Referenced by CheckForCollision(), ClassifyInvertedPortal(), ClassifyPortal(), CreateLargePortal(), CreateLightmaps(), FindCurrentLeaf(), FindVisibleLeaves(), GetEdgeIntersection(), PORTAL::GetNormal(), POLYGON::GetNormal(), InitGL(), InvertPortals(), RenderBSP(), SetGLVertices(), PORTAL::SetNormal(), POLYGON::SetNormal(), SplitPolygon(), and SplitPortal().

float VERTEX::y
 

Definition at line 14 of file vertex.h.

Referenced by CheckForCollision(), ClassifyInvertedPortal(), ClassifyPortal(), CreateLargePortal(), CreateLightmaps(), FindCurrentLeaf(), FindVisibleLeaves(), GetEdgeIntersection(), PORTAL::GetNormal(), POLYGON::GetNormal(), InitGL(), InvertPortals(), RenderBSP(), SetGLVertices(), PORTAL::SetNormal(), POLYGON::SetNormal(), SplitPolygon(), and SplitPortal().

float VERTEX::z
 

Definition at line 15 of file vertex.h.

Referenced by CheckForCollision(), ClassifyInvertedPortal(), ClassifyPortal(), CreateLargePortal(), CreateLightmaps(), FindCurrentLeaf(), FindVisibleLeaves(), GetEdgeIntersection(), PORTAL::GetNormal(), POLYGON::GetNormal(), InitGL(), InvertPortals(), RenderBSP(), SetGLVertices(), PORTAL::SetNormal(), POLYGON::SetNormal(), SplitPolygon(), and SplitPortal().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:20:22 2005 for Portals by doxygen1.2.15