Changed DihedralAngleRad to do not use precomputed per face normal (it already did for part of the computations)
This commit is contained in:
parent
9720d0c5a6
commit
a989737e26
|
@ -106,7 +106,7 @@ inline typename FaceType::ScalarType DihedralAngleRad(FaceType & f, const int i
|
|||
if(fabs(dist01) > fabs(dist10)) sign = dist01;
|
||||
else sign=dist10;
|
||||
|
||||
ScalarType angleRad=Angle(f0->N(),f1->N());
|
||||
ScalarType angleRad=AngleN(n0,n1);
|
||||
|
||||
if(sign > 0 ) return angleRad;
|
||||
else return -angleRad;
|
||||
|
|
Loading…
Reference in New Issue