Skip to content

Commit

Permalink
feat: add back flecs.dev/explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Nov 1, 2024
1 parent b1cae7f commit ac986ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/hyperion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ impl Hyperion {

let mut app = world.app();

// app.enable_rest(0)
// .enable_stats(true)
// .set_threads(rayon::current_num_threads() as i32)
// .set_target_fps(20.0);
app.enable_rest(0)
.enable_stats(true)
.set_threads(i32::try_from(rayon::current_num_threads())?)
.set_target_fps(20.0);

world.set_threads(i32::try_from(rayon::current_num_threads())?);

Expand Down

0 comments on commit ac986ff

Please sign in to comment.