Al's Programming Resource Homepage  Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

vertex.h

Go to the documentation of this file.
00001 // Vertex Class    by Alan Baylis 2001
00002 
00003 #ifndef VertexH
00004 #define VertexH
00005 
00006 #include "vector.h"
00007 
00008 class VERTEX
00009 {
00010     public:
00011           VERTEX(float x = 0, float y = 0, float z = 0, float nx = 0, float ny = 0, float nz = 0);
00012           ~VERTEX();
00013 
00014           VECTOR coords;
00015           VECTOR normal;
00016         float u;
00017         float v;
00018 
00019 // operator overloading
00020         VERTEX& operator = (const VERTEX& Vertex)
00021         {
00022             coords = Vertex.coords;
00023             normal = Vertex.normal;
00024             u = Vertex.u;
00025             v = Vertex.v;
00026             return *this; 
00027         }
00028 };
00029 
00030 #endif
00031 

Generated on Fri Dec 23 05:20:59 2005 for Polygon Selection by doxygen1.2.15