diff --git a/Mesh/BackgroundMesh.cpp b/Mesh/BackgroundMesh.cpp index b16f0f125f32c129240aa9bda499167fbbc21018..d0984191f85f2148d599e02b6a3b9ea020974e19 100644 --- a/Mesh/BackgroundMesh.cpp +++ b/Mesh/BackgroundMesh.cpp @@ -683,8 +683,8 @@ double backgroundMesh::getAngle (double u, double v, double w) const cos (4*itv2->second) * uv2[0] + cos (4*itv3->second) * uv2[1] ; double sin4 = sin (4*itv1->second) * (1-uv2[0]-uv2[1]) + - cos (4*itv2->second) * uv2[0] + - cos (4*itv3->second) * uv2[1] ; + sin (4*itv2->second) * uv2[0] + + sin (4*itv3->second) * uv2[1] ; double angle = atan2(sin4,cos4)/4.0; crossField2d::normalizeAngle (angle);