]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mathlib.h
gave names to nearly all structs and enums which should make for better C++ error...
[xonotic/darkplaces.git] / mathlib.h
index 678f4e220c0d14434b97a2f1489f8c2686d15d8f..8c5f8243ff3d9453a3df5212e3b286583b42511e 100644 (file)
--- a/mathlib.h
+++ b/mathlib.h
@@ -208,13 +208,13 @@ void BoxPlaneCornerDistances_Separate(const vec3_t emins, const vec3_t emaxs, co
 #define PlaneDiff(point,plane) (((plane)->type < 3 ? (point)[(plane)->type] : DotProduct((point), (plane)->normal)) - (plane)->dist)
 
 // LordHavoc: minimal plane structure
-typedef struct
+typedef struct tinyplane_s
 {
        float normal[3], dist;
 }
 tinyplane_t;
 
-typedef struct
+typedef struct tinydoubleplane_s
 {
        double normal[3], dist;
 }