isinf function changes reference on include poly2tri.h

15 views
Skip to first unread message

Ardo Avancena

unread,
Feb 25, 2014, 4:22:35 PM2/25/14
to poly...@googlegroups.com
I am using the function "isinf" which is from "/usr/include/math.h" and whenever I import poly2tri.h the function "isinf" errors out and is already pointed to "/usr/include/c++/4.2.1/cmath". How do I remedy this? Thanks!

Ardo Avancena

unread,
Feb 25, 2014, 5:29:13 PM2/25/14
to poly...@googlegroups.com
Managed to fix this by copying the definition of "isinf" from "math.h" after I include "poly2tri/poly2tri.h"
Reply all
Reply to author
Forward
0 new messages