Skip to content

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Aug 21, 2024
1 parent b7bf166 commit 112299a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spatial_query/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl SpatialQueryPipeline {
direction: Dir,
max_time_of_impact: Scalar,
ignore_origin_penetration: bool,
query_filter: SpatialQueryFilter,
query_filter: &SpatialQueryFilter,
predicate: &dyn Fn(Entity) -> bool,
) -> Option<ShapeHitData> {
let rotation: Rotation;
Expand Down Expand Up @@ -599,7 +599,7 @@ impl SpatialQueryPipeline {
&self,
point: Vector,
solid: bool,
query_filter: SpatialQueryFilter,
query_filter: &SpatialQueryFilter,
predicate: &dyn Fn(Entity) -> bool,
) -> Option<PointProjection> {
let point = point.into();
Expand Down

0 comments on commit 112299a

Please sign in to comment.