Implemented necessary free functions for OpenMesh Vectors

This commit is contained in:
Christian Mattes
2018-04-12 11:30:12 +02:00
parent 5e7493b3a9
commit 57e2e07432
2 changed files with 29 additions and 1 deletions

View File

@@ -539,7 +539,7 @@ public:
calc_sector_normal(_heh, n0);
calc_sector_normal(this->opposite_halfedge_handle(_heh), n1);
calc_edge_vector(_heh, he);
Scalar denom = length(n0)*length(n1);
Scalar denom = norm(n0)*norm(n1);
if (denom == Scalar(0))
{
return 0;