change GPUBvh struct to have only one index

This commit is contained in:
2025-01-25 15:19:53 +01:00
parent 6378ed0737
commit e1e53b99fe
5 changed files with 21 additions and 32 deletions

View File

@ -78,10 +78,7 @@ struct GPUBvh
vec3 min;
vec3 max;
int left_index;
int right_index;
int first_primitive;
int index;
int primitive_count;
};