Jolt Physics
A multi core friendly Game Physics Engine
|
Factory that creates triangles in a fixed size buffer. More...
#include <EPAConvexHullBuilder.h>
Public Member Functions | |
void | Clear () |
Return all triangles to the free pool. | |
Triangle * | CreateTriangle (int inIdx0, int inIdx1, int inIdx2, const Vec3 *inPositions) |
Allocate a new triangle with 3 indexes. | |
void | FreeTriangle (Triangle *inT) |
Free a triangle. | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Factory that creates triangles in a fixed size buffer.
|
inline |
Return all triangles to the free pool.
|
inline |
Allocate a new triangle with 3 indexes.
|
inline |
Free a triangle.