include/shapes.h
branchpyrit
changeset 82 930a2d3ecaed
parent 79 062b1c4143f7
child 84 6f7fe14782c2
equal deleted inserted replaced
81:9dbb9c8c115b 82:930a2d3ecaed
   130 class Vertex
   130 class Vertex
   131 {
   131 {
   132 public:
   132 public:
   133 	Vector3 P;
   133 	Vector3 P;
   134 	Vertex(const Vector3 &aP): P(aP) {};
   134 	Vertex(const Vector3 &aP): P(aP) {};
       
   135 	virtual ~Vertex() {};
   135 	virtual ostream & dump(ostream &st) const;
   136 	virtual ostream & dump(ostream &st) const;
   136 };
   137 };
   137 
   138 
   138 /**
   139 /**
   139  * triangle vertex with normal
   140  * triangle vertex with normal