25 virtual bool Split(
const Range &inTriangles, Range &outLeft, Range &outRight)
override;
#define JPH_NAMESPACE_END
Definition Core.h:240
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
Array< Float3 > VertexList
Definition Float3.h:42
Array< IndexedTriangle > IndexedTriangleList
Definition IndexedTriangle.h:105
A class that splits a triangle list into two parts for building a tree.
Definition TriangleSplitter.h:13
Splitter using mean of axis with biggest centroid deviation.
Definition TriangleSplitterMean.h:13
TriangleSplitterMean(const VertexList &inVertices, const IndexedTriangleList &inTriangles)
Constructor.
Definition TriangleSplitterMean.cpp:11
virtual void GetStats(Stats &outStats) const override
Get stats of splitter.
Definition TriangleSplitterMean.h:19
virtual bool Split(const Range &inTriangles, Range &outLeft, Range &outRight) override
Definition TriangleSplitterMean.cpp:16
Definition TriangleSplitter.h:22
const char * mSplitterName
Definition TriangleSplitter.h:23