X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=common.hh;h=16f0f077b3da446d70e6372320af9ac660fb1b0a;hb=9f13ae5fe777dd4f7a9302f6dcf3e0d99a1ce65d;hp=66aefd90399764a0de63e796aa53da39dabdb0e0;hpb=a737ad45e690daa3b39b8885e2b6574d2ea48833;p=chaz%2Frasterize diff --git a/common.hh b/common.hh index 66aefd9..16f0f07 100644 --- a/common.hh +++ b/common.hh @@ -47,6 +47,7 @@ typedef double scal_t; #define scal_asin asin #define scal_acos acos #define scal_atan atan +#define scal_atan2 atan2 #else typedef float scal_t; #define SCALAR_SIZE 4 @@ -64,6 +65,7 @@ typedef float scal_t; #define scal_asin asinf #define scal_acos acosf #define scal_atan atanf +#define scal_atan2 atan2f #endif #define scal_min2(A,B,C) scal_min(scal_min(A,B),C)