diff options
Diffstat (limited to 'src/pipeline')
| -rw-r--r-- | src/pipeline/query_pipeline.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pipeline/query_pipeline.rs b/src/pipeline/query_pipeline.rs index 666eb58..1a37ad8 100644 --- a/src/pipeline/query_pipeline.rs +++ b/src/pipeline/query_pipeline.rs @@ -62,15 +62,15 @@ impl QueryPipeline { ray: &Ray, max_toi: f32, ) -> Option<(ColliderHandle, &'a Collider, RayIntersection)> { - let t0 = instant::now(); + // let t0 = instant::now(); let inter = self.quadtree.cast_ray(ray, max_toi); - println!( - "Found {} interefrences in time {}.", - inter.len(), - instant::now() - t0 - ); + // println!( + // "Found {} interefrences in time {}.", + // inter.len(), + // instant::now() - t0 + // ); - let t0 = instant::now(); + // let t0 = instant::now(); let mut best = f32::MAX; let mut result = None; @@ -83,7 +83,7 @@ impl QueryPipeline { } } } - println!("Cast time: {}", instant::now() - t0); + // println!("Cast time: {}", instant::now() - t0); result } |
