diff options
| author | rezural <rezural@protonmail.com> | 2020-12-24 21:42:46 +1100 |
|---|---|---|
| committer | rezural <rezural@protonmail.com> | 2020-12-24 21:42:59 +1100 |
| commit | 5fce09cb52f7c24662650a998d279433a324e517 (patch) | |
| tree | c062d50398dcc8a77624509aeaa6ac8267268e22 /src_testbed/testbed.rs | |
| parent | 31032ab96978a32811319bb911b4e8e905918fe7 (diff) | |
| download | rapier-5fce09cb52f7c24662650a998d279433a324e517.tar.gz rapier-5fce09cb52f7c24662650a998d279433a324e517.tar.bz2 rapier-5fce09cb52f7c24662650a998d279433a324e517.zip | |
rework some threading code with the ui
Diffstat (limited to 'src_testbed/testbed.rs')
| -rw-r--r-- | src_testbed/testbed.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src_testbed/testbed.rs b/src_testbed/testbed.rs index bb663e7..949afe7 100644 --- a/src_testbed/testbed.rs +++ b/src_testbed/testbed.rs @@ -115,7 +115,6 @@ pub struct TestbedState { pub selected_example: usize, pub selected_backend: usize, pub physx_use_two_friction_directions: bool, - pub num_threads: usize, pub snapshot: Option<PhysicsSnapshot>, } @@ -180,7 +179,6 @@ impl Testbed { selected_example: 0, selected_backend: RAPIER_BACKEND, physx_use_two_friction_directions: true, - num_threads, }; let harness = Harness::new_empty(); @@ -1027,6 +1025,7 @@ impl State for Testbed { window, &mut self.harness.physics.integration_parameters, &mut self.state, + &mut self.harness.state ); } |
