X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=radiant%2Fcsg.h;h=e05c9effbb4b65ab408e9be5637cd071c6d851cd;hb=23ba78cc4108f37ea654cce5689b9c0a6ff0df0d;hp=189ae72c3cb3988277624807d6a097d6b70aeabc;hpb=3c73487420fde8d4a3b5360d8b99e48132517900;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