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(VECTOR scoords, VECTOR snormal); 00012 VERTEX(float sx = 0, float sy = 0, float sz = 0, float snx = 0, float sny = 0, float snz = 0); 00013 ~VERTEX(); 00014 00015 int polyNumber; 00016 VECTOR coords; 00017 VECTOR normal; 00018 float u; 00019 float v; 00020 }; 00021 00022 #endif 00023