mirror of https://github.com/CGAL/cgal
Fix warnings in polyhedron examples
This commit is contained in:
parent
7beb631e77
commit
04fc3550d2
|
|
@ -50,7 +50,12 @@ class My_vertex : public CGAL::HalfedgeDS_vertex_base<Refs, T, P> {
|
|||
Norm norm;
|
||||
public:
|
||||
My_vertex() {} // repeat mandatory constructors
|
||||
My_vertex( const P& pt) : CGAL::HalfedgeDS_vertex_base<Refs, T, P>(pt) {}
|
||||
My_vertex( const P& pt)
|
||||
: CGAL::HalfedgeDS_vertex_base<Refs, T, P>(pt)
|
||||
{
|
||||
//initialization of the normal
|
||||
norm= CGAL::NULL_VECTOR;
|
||||
}
|
||||
typedef Norm Normal_3;
|
||||
Normal_3& normal() { return norm; }
|
||||
const Normal_3& normal() const { return norm; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue