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
std::vector< T, STLAllocator< T > > Array
Definition STLAllocator.h:81
A class that splits a triangle list into two parts for building a tree.
Definition TriangleSplitter.h:13
Splitter using Morton codes, see: http://devblogs.nvidia.com/parallelforall/thinking-parallel-part-ii...
Definition TriangleSplitterMorton.h:13
TriangleSplitterMorton(const VertexList &inVertices, const IndexedTriangleList &inTriangles)
Constructor.
Definition TriangleSplitterMorton.cpp:13
virtual void GetStats(Stats &outStats) const override
Get stats of splitter.
Definition TriangleSplitterMorton.h:19
virtual bool Split(const Range &inTriangles, Range &outLeft, Range &outRight) override
Definition TriangleSplitterMorton.cpp:34
Definition TriangleSplitter.h:22
const char * mSplitterName
Definition TriangleSplitter.h:23