Make theinstant dependency optional, behind a profiler cargo feature

This commit is contained in:
Sébastien Crozet
2022-05-31 11:49:36 +02:00
parent fb1bfc762c
commit 10ca3474e6
10 changed files with 29 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ impl PhysicsPipeline {
/// Initializes a new physics pipeline.
pub fn new() -> PhysicsPipeline {
PhysicsPipeline {
counters: Counters::new(false),
counters: Counters::new(true),
solvers: Vec::new(),
manifold_indices: Vec::new(),
joint_constraint_indices: Vec::new(),