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 (VECTOR scoords, VECTOR snormal)
 VERTEX (float sx=0, float sy=0, float sz=0, float snx=0, float sny=0, float snz=0)
 ~VERTEX ()

Public Attributes

int polyNumber
VECTOR coords
VECTOR normal
float u
float v


Constructor & Destructor Documentation

VERTEX::VERTEX VECTOR    scoords,
VECTOR    snormal
 

Definition at line 5 of file vertex.cpp.

References coords, and normal.

00006 {
00007     coords = scoords;
00008     normal = snormal;
00009 }

VERTEX::VERTEX float    sx = 0,
float    sy = 0,
float    sz = 0,
float    snx = 0,
float    sny = 0,
float    snz = 0
 

Definition at line 11 of file vertex.cpp.

References coords, normal, VECTOR::x, VECTOR::y, and VECTOR::z.

00012 {
00013     coords.x = sx;
00014     coords.y = sy;
00015     coords.z = sz;
00016     normal.x = snx;
00017     normal.y = sny;
00018     normal.z = snz;
00019 }

VERTEX::~VERTEX  
 

Definition at line 21 of file vertex.cpp.

00022 {
00023 }


Member Data Documentation

VECTOR VERTEX::coords
 

Definition at line 16 of file vertex.h.

Referenced by CheckForCollision(), CheckForParticleCollision(), ClassifyInvertedPortal(), ClassifyPolygon(), ClassifyPortal(), CreateDecal(), CreateLargePortal(), CreateLightmaps(), CSGClipPolygon(), FindCurrentLeaf(), FindVisibleLeaves(), GetEdgeIntersection(), PORTAL::GetNormal(), POLYGON::GetNormal(), InitGL(), InitializeBullets(), InvertPortals(), line_plane_collision(), POLYGON::POLYGON::operator==(), RenderBSP(), RenderBulletDecal(), RenderBurnDecal(), RenderTexturedBrush(), RenderWireframeBrush(), Set1stVertices(), Set2ndVertices(), Set3rdVertices(), SetGLVertices(), PORTAL::SetNormal(), POLYGON::SetNormal(), SplitPolygon(), SplitPortal(), SplitTriangle(), UpdateBullets(), and VERTEX().

VECTOR VERTEX::normal
 

Definition at line 17 of file vertex.h.

Referenced by CheckForParticleCollision(), CreateDecal(), CSGClipPolygon(), GetNorm(), line_plane_collision(), POLYGON::POLYGON::operator==(), RenderBSP(), RenderTexturedBrush(), PORTAL::SetNormal(), POLYGON::SetNormal(), UpdateBullets(), and VERTEX().

int VERTEX::polyNumber
 

Definition at line 15 of file vertex.h.

Referenced by SetBrushPolygons(), and SplitPolygon().

float VERTEX::u
 

Definition at line 18 of file vertex.h.

Referenced by InitializeBullets(), POLYGON::POLYGON::operator==(), RenderBSP(), RenderTexturedBrush(), SetBrushPolygons(), SetGLWorld(), SplitPolygon(), and SplitTriangle().

float VERTEX::v
 

Definition at line 19 of file vertex.h.

Referenced by InitializeBullets(), POLYGON::POLYGON::operator==(), RenderBSP(), RenderTexturedBrush(), SetBrushPolygons(), SetGLWorld(), SplitPolygon(), and SplitTriangle().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:15:52 2005 for Constructive Solid Geometry by doxygen1.2.15