Bullet Collision Detection & Physics Library
Classes
btTriangleBuffer.h File Reference
#include "btTriangleCallback.h"
#include "LinearMath/btAlignedObjectArray.h"
Include dependency graph for btTriangleBuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  btTriangle
 
class  btTriangleBuffer
 The btTriangleBuffer callback can be useful to collect and store overlapping triangles between AABB and concave objects that support 'processAllTriangles' Example usage of this class: btTriangleBuffer triBuf; concaveShape->processAllTriangles(&triBuf,aabbMin, aabbMax); for (int i=0;i<triBuf.getNumTriangles();i++) { const btTriangle& tri = triBuf.getTriangle(i); //do something useful here with the triangle }. More...