]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - bih.h
unset command
[xonotic/darkplaces.git] / bih.h
diff --git a/bih.h b/bih.h
index 56632b366fc4b0f6e31b3742f84cbce64df85aee..48a33d11c7e05e52a62cc1547a9f4632b0a3a2af 100644 (file)
--- a/bih.h
+++ b/bih.h
@@ -18,10 +18,17 @@ typedef enum bih_nodetype_e
        BIH_SPLITX = 0,
        BIH_SPLITY = 1,
        BIH_SPLITZ = 2,
-       BIH_LEAF = 3,
 }
 bih_nodetype_t;
 
+typedef enum bih_leaftype_e
+{
+       BIH_BRUSH = 3,
+       BIH_COLLISIONTRIANGLE = 4,
+       BIH_RENDERTRIANGLE = 5,
+}
+bih_leaftype_t;
+
 typedef struct bih_node_s
 {
        bih_nodetype_t type; // = BIH_SPLITX and similar values
@@ -40,7 +47,7 @@ bih_node_t;
 
 typedef struct bih_leaf_s
 {
-       bih_nodetype_t type; // = BIH_LEAF
+       bih_leaftype_t type; // = BIH_BRUSH And similar values
        float mins[3];
        float maxs[3];
        // data past this point is generic and entirely up to the caller...