Commit dea6da5e authored by Philip Trettner's avatar Philip Trettner
Browse files

fixed M_PI

parent 3f347c61
......@@ -487,7 +487,7 @@ Scalar angle_sum(vertex_handle v, vertex_attribute<Pos3> const& position)
template <class Pos3, class Scalar>
Scalar angle_defect(vertex_handle v, vertex_attribute<Pos3> const& position)
return 2 * M_PI - angle_sum(v, position);
return Scalar(2 * 3.14159265358979323846) - angle_sum(v, position);
template <class Pos3, class Scalar>
Supports Markdown
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