]> Dogcows Code - chaz/rasterize/blobdiff - common.hh
added texturing
[chaz/rasterize] / common.hh
index 66aefd90399764a0de63e796aa53da39dabdb0e0..16f0f077b3da446d70e6372320af9ac660fb1b0a 100644 (file)
--- 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)
This page took 0.020813 seconds and 4 git commands to generate.