From b4c76bc03cd87760c8eeaed1802bce627bc8ca54 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 15 Jul 2016 14:36:08 +0200 Subject: [PATCH] fixed bug --- .../algorithms/parametrization/tangent_field_operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/parametrization/tangent_field_operators.h b/vcg/complex/algorithms/parametrization/tangent_field_operators.h index 0ed1caf6..3da1a33a 100644 --- a/vcg/complex/algorithms/parametrization/tangent_field_operators.h +++ b/vcg/complex/algorithms/parametrization/tangent_field_operators.h @@ -666,7 +666,7 @@ public: CoordType dirR=vcg::tri::CrossField::Rotate(f0,f1,dir0); ///then get the closest upf to K*PI/2 rotations CoordType dir1=f1.cPD1(); - CoordType ret=vcg::tri::CrossField::K_PI(dirR,dir1,f1.cN()); + CoordType ret=vcg::tri::CrossField::K_PI(dir1,dirR,f1.cN()); return ret; }