X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fcsg.h;h=082f7f10ff711c102b9d3093e0a66dc25d9315ca;hb=06d25930d81ee46fcf1f25ccacf23bf4109d6ce1;hp=e176422ddeb3c330d905ed18d34b7936faa3fbe3;hpb=7ca59bef0ae15880f51b2f68104b933e918d543c;p=xonotic%2Fnetradiant.git diff --git a/radiant/csg.h b/radiant/csg.h index e176422d..082f7f10 100644 --- a/radiant/csg.h +++ b/radiant/csg.h @@ -22,9 +22,13 @@ #if !defined( INCLUDED_CSG_H ) #define INCLUDED_CSG_H + void CSG_MakeRoom( void ); + void CSG_Subtract( void ); + void CSG_Merge( void ); + void CSG_Tool( void ); namespace scene @@ -33,15 +37,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