mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-29 03:18:35 +02:00
~ | TopLevelBVH
This commit is contained in:
@ -29,14 +29,16 @@ class TopBVH
|
||||
|
||||
float evaluateSah(std::vector<GPUBvhData> &bvhs_data, std::vector<GPUBvh> &bvhs, int axis, float pos);
|
||||
|
||||
// int getSize();
|
||||
int getSize();
|
||||
// int getLeaves();
|
||||
|
||||
// void flatten(std::vector<GPUTopBVH> &TopBVHs, int ¤tIndex);
|
||||
// GPUTopBVH toGPUTopBVH();
|
||||
// void flatten(std::vector<GPUTopBvh> &TopBVHs, int ¤tIndex);
|
||||
// GPUTopBvh toGPUTopBvh();
|
||||
std::vector<GPUTopBvh> getGPUTopBvhs();
|
||||
void flatten(std::vector<GPUTopBvh> &top_bvhs, int ¤tIndex);
|
||||
|
||||
// const AABB &getAABB() const;
|
||||
// std::vector<GPUTopBVH> getGPUTopBVHs();
|
||||
// std::vector<GPUTopBvh> getGPUTopBvhs();
|
||||
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user