1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
14 PolygonList coSameList
;
15 PolygonList coDiffList
;
18 class BSPTree3D
: public _i_reference_target_t
21 BSPTree3D(PolygonList
& polygonList
);
24 void GetPartitions(PolygonPtr
& pPolygon
, OutputPolygons
& outPolygons
) const;
25 bool IsInside(const BrushVec3
& vPos
) const;
26 bool IsValidTree() const { return m_bValidTree
; }
29 BSPTree3DNode
* m_pRootNode
;
31 BSPTree3DNode
* BuildBSP(PolygonList
& polygonList
);