Skip to content

Commit c379ffe

Browse files
committed
Adding missing define for accessing M_PI
1 parent 64438f9 commit c379ffe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/deform_sphere.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
are unconstrained.
1414
*/
1515

16+
#define _USE_MATH_DEFINES
17+
1618
// Include as-rigid-as-possible deformation algorithm
1719
#include <deform/arap.h>
1820

0 commit comments

Comments
 (0)