Fix compilation in 2D.

This commit is contained in:
Crozet Sébastien
2021-01-22 16:43:16 +01:00
parent 99c2184e13
commit b779eb261e
6 changed files with 33 additions and 25 deletions

View File

@@ -70,12 +70,6 @@ impl Harness {
#[cfg(feature = "parallel")]
let num_threads = num_cpus::get_physical();
#[cfg(feature = "parallel")]
let thread_pool = rapier::rayon::ThreadPoolBuilder::new()
.num_threads(num_threads)
.build()
.unwrap();
let contact_channel = crossbeam::channel::unbounded();
let proximity_channel = crossbeam::channel::unbounded();
let event_handler = ChannelEventCollector::new(proximity_channel.0, contact_channel.0);