X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fcsg.h;h=e05c9effbb4b65ab408e9be5637cd071c6d851cd;hb=66044ddab695842249eb61a4b395165d2a5d4ec8;hp=189ae72c3cb3988277624807d6a097d6b70aeabc;hpb=e4287c28bb2dafedc81c66e63951d947cfbeb225;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