]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DWinding.h
Wean off #define
[xonotic/netradiant.git] / contrib / bobtoolz / DWinding.h
index 547b8fc32754bcd6517959e4cf5349a4ee5c613d..cb8ddda759197504eb5eeef5dd2970aae9b87172 100644 (file)
@@ -28,6 +28,8 @@
 #pragma once
 #endif // _MSC_VER > 1000
 
+#include "mathlib.h"
+
 class DPlane;
 
 class DWinding
@@ -61,8 +63,8 @@ vec3_t* p;
 vec3_t clr;
 };
 
-#define MAX_POINTS_ON_WINDING   64
+const int MAX_POINTS_ON_WINDING = 64;
 
-#define ON_EPSILON  0.01
+const double ON_EPSILON = 0.01;
 
 #endif // !defined(AFX_DWINDING_H__35B2C524_F0A7_11D4_ACF7_004095A18133__INCLUDED_)