~ | Even more optimizing

This commit is contained in:
TheRedShip
2025-01-19 15:30:27 +01:00
parent 8f70e282b3
commit d0d67b8bd7
8 changed files with 2862 additions and 2377 deletions

View File

@ -64,7 +64,7 @@ hitInfo traceBVH(Ray ray)
int stack[32];
int stack_ptr = 0;
stack[0] = 0;
while (stack_ptr >= 0)
{
int current_index = stack[stack_ptr--];