Al's Programming Resource Homepage  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 6 of file vertex.cpp.

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

VERTEX::~VERTEX  
 

Definition at line 18 of file vertex.cpp.

00019 {
00020 }


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(), and POLYGON::SetNormal().

float VERTEX::ny
 

Definition at line 17 of file vertex.h.

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

float VERTEX::nz
 

Definition at line 18 of file vertex.h.

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

float VERTEX::u
 

Definition at line 19 of file vertex.h.

float VERTEX::v
 

Definition at line 20 of file vertex.h.

float VERTEX::x
 

Definition at line 13 of file vertex.h.

Referenced by POLYGON::CheckForCollision(), Child2DWndProc(), POLYGON::GetMidPoint(), POLYGON::GetNormal(), POLYGON::SetNormal(), and SetVertices().

float VERTEX::y
 

Definition at line 14 of file vertex.h.

Referenced by POLYGON::CheckForCollision(), Child2DWndProc(), POLYGON::GetMidPoint(), POLYGON::GetNormal(), POLYGON::SetNormal(), and SetVertices().

float VERTEX::z
 

Definition at line 15 of file vertex.h.

Referenced by POLYGON::CheckForCollision(), Child2DWndProc(), POLYGON::GetMidPoint(), POLYGON::GetNormal(), POLYGON::SetNormal(), and SetVertices().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:19:35 2005 for OpenGL MDI 2 by doxygen1.2.15