init normal with 3 scalars instead of 1
This commit is contained in:
@@ -429,7 +429,7 @@ typename PolyMeshT<Kernel>::Normal
|
|||||||
PolyMeshT<Kernel>::
|
PolyMeshT<Kernel>::
|
||||||
calc_normal(EdgeHandle _eh) const
|
calc_normal(EdgeHandle _eh) const
|
||||||
{
|
{
|
||||||
Normal n(0);
|
Normal n(0, 0, 0);
|
||||||
for (int i = 0; i < 2; ++i)
|
for (int i = 0; i < 2; ++i)
|
||||||
{
|
{
|
||||||
const auto heh = this->halfedge_handle(_eh, i);
|
const auto heh = this->halfedge_handle(_eh, i);
|
||||||
|
|||||||
Reference in New Issue
Block a user