feat: changed some QueryPipeline API to be more library friendly (#863)

This commit is contained in:
Thierry Berger
2025-07-24 16:21:55 +02:00
committed by GitHub
parent 626512911b
commit 0f5b4a4d88
6 changed files with 22 additions and 25 deletions

View File

@@ -53,7 +53,7 @@ pub fn init_world(testbed: &mut Testbed) {
);
for intersection in query_pipeline.intersect_shape(
&Isometry::translation(slow_time.cos() * 10.0, slow_time.sin() * 10.0),
Isometry::translation(slow_time.cos() * 10.0, slow_time.sin() * 10.0),
&Ball::new(rad / 2.0),
) {
if let Some(graphics) = graphics.as_deref_mut() {