mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
change GPUBvh struct to have only one index
This commit is contained in:
@ -78,10 +78,7 @@ struct GPUBvh
|
||||
vec3 min;
|
||||
vec3 max;
|
||||
|
||||
int left_index;
|
||||
int right_index;
|
||||
|
||||
int first_primitive;
|
||||
int index;
|
||||
int primitive_count;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user