Commit 7c78d174 authored by CGoGN GIT Supervisor's avatar CGoGN GIT Supervisor

Merge branch 'master' of /home/sauvage/CGoGN

parents 109259db 1f41d335
......@@ -97,10 +97,20 @@ void computeCurvatureVertex(
K1_v = invLocalFrame * K1_v ;
VEC3 K2_v = n ^ K1_v ;
k1[dart] = k1_v ;
k2[dart] = k2_v ;
K1[dart] = K1_v ;
K2[dart] = K2_v ;
if (k1_v < k2_v)
{
k1[dart] = -k1_v ;
k2[dart] = -k2_v ;
K1[dart] = K1_v ;
K2[dart] = K2_v ;
}
else
{
k1[dart] = -k2_v ;
k2[dart] = -k1_v ;
K1[dart] = K2_v ;
K2[dart] = K1_v ;
}
}
template <typename PFP>
......
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