From 21b4bde190bb51e94f93340ec52bec5925cae24f Mon Sep 17 00:00:00 2001 From: Qiaozhi Lei Date: Tue, 22 Aug 2023 10:35:29 +0100 Subject: [PATCH] init normal with 3 scalars instead of 1 --- src/OpenMesh/Core/Mesh/PolyMeshT_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/Mesh/PolyMeshT_impl.hh b/src/OpenMesh/Core/Mesh/PolyMeshT_impl.hh index 646b30a4..86c945ed 100644 --- a/src/OpenMesh/Core/Mesh/PolyMeshT_impl.hh +++ b/src/OpenMesh/Core/Mesh/PolyMeshT_impl.hh @@ -429,7 +429,7 @@ typename PolyMeshT::Normal PolyMeshT:: calc_normal(EdgeHandle _eh) const { - Normal n(0); + Normal n(0, 0, 0); for (int i = 0; i < 2; ++i) { const auto heh = this->halfedge_handle(_eh, i);