Skip to content

Commit

Permalink
Add CWBVH fat leaf splitting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Nov 25, 2024
1 parent e39b237 commit e926c42
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 108 deletions.
2 changes: 2 additions & 0 deletions external/fenster.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class Fenster {

void Init();
void Tick( uint32_t* buf );
void Shutdown();
int run()
{
uint32_t* buf = new uint32_t[SCRWIDTH * SCRHEIGHT];
Expand All @@ -399,6 +400,7 @@ int run()
Tick( buf );
if (f.keys[27]) break;
}
Shutdown();
fenster_close( &f );
delete [] buf;
return 0;
Expand Down
Loading

0 comments on commit e926c42

Please sign in to comment.