X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fcsg.h;h=e05c9effbb4b65ab408e9be5637cd071c6d851cd;hb=abb0694de849b6a844eea71cf2b6a4c0def53af5;hp=189ae72c3cb3988277624807d6a097d6b70aeabc;hpb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;p=xonotic%2Fnetradiant.git diff --git a/radiant/csg.h b/radiant/csg.h index 189ae72c..e05c9eff 100644 --- a/radiant/csg.h +++ b/radiant/csg.h @@ -23,7 +23,11 @@ #define INCLUDED_CSG_H void CSG_MakeHollow( void ); + +void CSG_MakeRoom( void ); + void CSG_Subtract( void ); + void CSG_Merge( void ); namespace scene @@ -32,15 +36,18 @@ class Graph; } template class BasicVector3; typedef BasicVector3 Vector3; + class Plane3; void Scene_BrushSetClipPlane( scene::Graph& graph, const Plane3& plane ); + enum EBrushSplit { eFront, eBack, eFrontAndBack, }; + void Scene_BrushSplitByPlane( scene::Graph& graph, const Vector3& p0, const Vector3& p1, const Vector3& p2, const char* shader, EBrushSplit split ); #endif