21 outStats.mSplitterName =
"TriangleSplitterLongestAxis";
#define JPH_EXPORT
Definition Core.h:227
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
Array< Float3 > VertexList
Definition Float3.h:43
Array< IndexedTriangle > IndexedTriangleList
Definition IndexedTriangle.h:109
AllocateFunction Allocate
Definition Memory.cpp:59
A class that splits a triangle list into two parts for building a tree.
Definition TriangleSplitter.h:14
virtual bool Split(const Range &inTriangles, Range &outLeft, Range &outRight)=0
Splitter using center of bounding box with longest axis.
Definition TriangleSplitterLongestAxis.h:13
virtual void GetStats(Stats &outStats) const override
Get stats of splitter.
Definition TriangleSplitterLongestAxis.h:19
Definition TriangleSplitter.h:23