92 void GetFaces(std::vector<std::vector<size_t>>&
out)
const;
Definition: BoundingBoxAligned.h:34
Class CBrush: Represents a convex object, supports some CSG operations.
Definition: Brush.h:38
void Intersect(const CFrustum &frustum, CBrush &result) const
Intersect: Intersect the brush with the given frustum.
Definition: Brush.cpp:342
const std::vector< CVector3D > & GetVertices() const
Returns vertices in the brush.
Definition: Brush.cpp:377
bool IsEmpty() const
IsEmpty: Returns whether the brush is empty.
Definition: Brush.h:54
static const size_t NO_VERTEX
Definition: Brush.h:95
void Bounds(CBoundingBoxAligned &result) const
Bounds: Calculate the axis-aligned bounding box for this brush.
Definition: Brush.cpp:57
std::vector< CVector3D > Vertices
Definition: Brush.h:97
void Slice(const CPlane &plane, CBrush &result) const
Slice: Cut the object along the given plane, resulting in a smaller (or even empty) brush representin...
Definition: Brush.cpp:186
std::vector< size_t > FaceIndices
Definition: Brush.h:98
void GetFaces(std::vector< std::vector< size_t > > &out) const
Writes a vector of the faces in this brush to out.
Definition: Brush.cpp:382
Vertices m_Vertices
Collection of unique vertices that make up this shape.
Definition: Brush.h:101
FaceIndices m_Faces
Holds the face definitions of this brush.
Definition: Brush.h:108
Definition: Brush.cpp:116
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:407