Check below, you will see that the aabbox is not used at all. By the way, has anyone implemented the proper function ?
Code: Select all
//! Gets all triangles which lie within a specific bounding box.
void CTriangleSelector::getTriangles(core::triangle3df* triangles,
s32 arraySize, s32& outTriangleCount,
const core::aabbox3d<f32>& box,
const core::matrix4* transform)
{
// return all triangles
getTriangles(triangles, arraySize, outTriangleCount, transform);
}