45 bool refitTets =
true);
67 {
return myBVHNodes.buffer(); }
70 {
return myVertices.buffer(); }
73 {
return myPrimIdx.buffer(); }
79 {
return myPts.buffer(); }
88 void buildDepthIndex(
bool reverse =
true);
95 struct __declspec (align(16)) cebvhvec4
97 struct __attribute__((aligned(16))) cebvhvec4
100 union {
struct {
float x,
y,
z,
w; };
float cell[4]; };
105 union {
struct {
float x,
y,
z; };
float cell[3]; };
110 cebvhvec3 lmin; uint32_t
left;
111 cebvhvec3 lmax; uint32_t
right;
112 cebvhvec3 rmin; uint32_t triCount;
113 cebvhvec3 rmax; uint32_t firstTri;
const cl::Buffer & nodeBuffer() const
GLdouble GLdouble GLdouble z
PUGI__FN void reverse(I begin, I end)
const cl::Buffer & ptsBuffer() const
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
const cl::Buffer & primIdxBuffer() const
GLubyte GLubyte GLubyte GLubyte w
const cl::Buffer & verticesBuffer() const