16#ifndef BT_TRIANGLE_BUFFER_H
17#define BT_TRIANGLE_BUFFER_H
int size() const
return the number of elements in the array
void clear()
clear the array, deallocated memory. Generally it is better to use array.resize(0),...
The btTriangleBuffer callback can be useful to collect and store overlapping triangles between AABB a...
int getNumTriangles() const
const btTriangle & getTriangle(int index) const
virtual void processTriangle(btVector3 *triangle, int partId, int triangleIndex)
btAlignedObjectArray< btTriangle > m_triangleBuffer
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btVector3 can be used to represent 3D points and vectors.