Viewer
A plugin-based viewer for learning Computer Graphics and OpenGL
core/include/vertex.h
00001 #ifndef VERTEX_H
00002 #define VERTEX_H
00003 
00004 #include "point.h"
00005 #include "vector.h"
00006 
00012 class CORE_EXPORT Vertex
00013 {
00014 public:
00018     Vertex(const Point& coords);
00019 
00023     Point coord() const;              
00024 
00028     void setCoord(const Point& coord);
00029 
00030 private:
00031     Point pcoord;       // vertex coordinates
00032 };
00033 
00034 #endif
 All Classes Functions