Commit 2bbdeb09 authored by Mike Kremer's avatar Mike Kremer

Added non-const verseion of normal function for faces.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@201 66977474-1d4b-4f09-8fe9-267525286df2
parent dd74a1f6
......@@ -97,6 +97,11 @@ public:
return v_normals_[_h.idx()];
}
typename GeomKernelT::PointT& operator[](const FaceHandle& _h) {
assert((unsigned int)_h.idx() < kernel_.n_faces());
return f_normals_[_h.idx()];
}
typename GeomKernelT::PointT& operator[](const HalfFaceHandle& _h) {
assert((unsigned int)_h.idx() < kernel_.n_halffaces());
double mult = 1.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment