29 #ifndef TRIANGLE_MESH_H 30 #define TRIANGLE_MESH_H 32 #include "reference.h" 59 bool operator()(
const BVH* p_left,
const BVH* p_right)
const {
61 return p_left->center.x < p_right->center.x;
67 bool operator()(
const BVH* p_left,
const BVH* p_right)
const {
69 return p_left->center.y < p_right->center.y;
74 bool operator()(
const BVH* p_left,
const BVH* p_right)
const {
76 return p_left->center.z < p_right->center.z;
80 int _create_bvh(BVH*p_bvh,BVH** p_bb,
int p_from,
int p_size,
int p_depth,
int&max_depth,
int&max_alloc);
88 bool is_valid()
const;
99 #endif // TRIANGLE_MESH_H
Definition: reference.h:40
Definition: triangle_mesh.h:34