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