mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | O3 faster bvh build and display informations
This commit is contained in:
@ -73,8 +73,6 @@ float BVH::evaluateSah(std::vector<Triangle> &triangles, int axis, float pos)
|
||||
return (cost > 0 ? cost : 1e30f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void BVH::subdivide(std::vector<Triangle> &triangles)
|
||||
{
|
||||
if (_primitive_count <= 4)
|
||||
|
Reference in New Issue
Block a user