X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=bih.h;h=48a33d11c7e05e52a62cc1547a9f4632b0a3a2af;hb=4dd30523a9fba5bb7bcc6f490250e49647d480a9;hp=56632b366fc4b0f6e31b3742f84cbce64df85aee;hpb=a5c12e5524c2af491c483e0207f48524f1cf072a;p=xonotic%2Fdarkplaces.git diff --git a/bih.h b/bih.h index 56632b36..48a33d11 100644 --- 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...