22 #ifndef __ND_SHAPE_STATIC_BVH__
23 #define __ND_SHAPE_STATIC_BVH__
25 #include "ndCollisionStdafx.h"
26 #include "ndShapeStaticMesh.h"
36 void *
operator new (
size_t size);
37 void operator delete (
void* ptr);
47 static ndFloat32 RayHit(
void*
const context,
const ndFloat32*
const polygon, ndInt32 strideInBytes,
const ndInt32*
const indexArray, ndInt32 indexCount);
48 static ndIntersectStatus ShowDebugPolygon(
void*
const context,
const ndFloat32*
const polygon, ndInt32 strideInBytes,
const ndInt32*
const indexArray, ndInt32 indexCount, ndFloat32 hitDistance);
49 static ndIntersectStatus GetTriangleCount(
void*
const context,
const ndFloat32*
const polygon, ndInt32 strideInBytes,
const ndInt32*
const indexArray, ndInt32 indexCount, ndFloat32 hitDistance);
50 static ndIntersectStatus GetPolygon(
void*
const context,
const ndFloat32*
const polygon, ndInt32 strideInBytes,
const ndInt32*
const indexArray, ndInt32 indexCount, ndFloat32 hitDistance);
53 ndInt32 m_trianglesCount;
58 inline void* ndShapeStatic_bvh::operator
new (
size_t size)
60 return ndShapeStaticMesh::operator
new (size);
63 inline void ndShapeStatic_bvh::operator
delete (
void* ptr)
65 ndShapeStaticMesh::operator
delete(ptr);