Skip to content

Commit 5bbde8f

Browse files
committed
fix docs + remove specific dependencies
1 parent 9fdbf30 commit 5bbde8f

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ codegen-units = 1
2020
#parry3d = { git = "https://github.com/dimforge/parry", branch = "master" }
2121
#rapier2d = { git = "https://github.com/dimforge/rapier", branch = "character-controller" }
2222
#rapier3d = { git = "https://github.com/dimforge/rapier", branch = "character-controller" }
23-
rapier2d = { git = "https://github.com/vrixyz/rapier", branch = "bevy_rapier_compatibility" }
24-
rapier3d = { git = "https://github.com/vrixyz/rapier", branch = "bevy_rapier_compatibility" }
25-
parry2d = { git = "https://github.com/dimforge/parry", branch = "bvh-remove-fix2" }
26-
parry3d = { git = "https://github.com/dimforge/parry", branch = "bvh-remove-fix2" }

src/plugin/context/systemparams/rapier_context_systemparam.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@ mod query_pipeline {
335335
})
336336
}
337337

338-
/// Shortcut to [`RapierQueryPipeline::intersections_with_point`].
338+
/// Shortcut to [`RapierQueryPipeline::intersect_point`].
339339
///
340340
/// Stops the query if `callback` returns false.
341-
pub fn intersections_with_point(
341+
pub fn intersect_point(
342342
&self,
343343
point: Vect,
344344
filter: QueryFilter,
@@ -353,10 +353,10 @@ mod query_pipeline {
353353
});
354354
}
355355

356-
/// Shortcut to [`RapierQueryPipeline::intersections_with_ray`].
356+
/// Shortcut to [`RapierQueryPipeline::intersect_ray`].
357357
///
358358
/// Stops the query if `callback` returns false.
359-
pub fn intersections_with_ray(
359+
pub fn intersect_ray(
360360
&self,
361361
ray_origin: Vect,
362362
ray_dir: Vect,
@@ -376,8 +376,8 @@ mod query_pipeline {
376376
});
377377
}
378378

379-
/// Shortcut to [`RapierQueryPipeline::intersections_with_shape`].
380-
pub fn intersections_with_shape(
379+
/// Shortcut to [`RapierQueryPipeline::intersect_shape`].
380+
pub fn intersect_shape(
381381
&self,
382382
shape_pos: Vect,
383383
shape_rot: Rot,
@@ -394,8 +394,8 @@ mod query_pipeline {
394394
});
395395
}
396396

397-
/// Shortcut to [`RapierQueryPipeline::colliders_with_aabb_intersecting_aabb`].
398-
pub fn colliders_with_aabb_intersecting_aabb(
397+
/// Shortcut to [`RapierQueryPipeline::intersect_aabb_conservative`].
398+
pub fn intersect_aabb_conservative(
399399
&self,
400400
#[cfg(feature = "dim2")] aabb: bevy::math::bounding::Aabb2d,
401401
#[cfg(feature = "dim3")] aabb: bevy::math::bounding::Aabb3d,
@@ -470,10 +470,10 @@ mod query_pipeline {
470470
})
471471
}
472472

473-
/// Shortcut to [`RapierQueryPipeline::intersections_with_point`].
473+
/// Shortcut to [`RapierQueryPipeline::intersect_point`].
474474
///
475475
/// Stops the query if `callback` returns false.
476-
pub fn intersections_with_point(
476+
pub fn intersect_point(
477477
&self,
478478
point: Vect,
479479
filter: QueryFilter,
@@ -488,10 +488,10 @@ mod query_pipeline {
488488
});
489489
}
490490

491-
/// Shortcut to [`RapierQueryPipeline::intersections_with_ray`].
491+
/// Shortcut to [`RapierQueryPipeline::intersect_ray`].
492492
///
493493
/// Stops the query if `callback` returns false.
494-
pub fn intersections_with_ray(
494+
pub fn intersect_ray(
495495
&self,
496496
ray_origin: Vect,
497497
ray_dir: Vect,
@@ -511,8 +511,8 @@ mod query_pipeline {
511511
});
512512
}
513513

514-
/// Shortcut to [`RapierQueryPipeline::intersections_with_shape`].
515-
pub fn intersections_with_shape(
514+
/// Shortcut to [`RapierQueryPipeline::intersect_shape`].
515+
pub fn intersect_shape(
516516
&self,
517517
shape_pos: Vect,
518518
shape_rot: Rot,
@@ -529,8 +529,8 @@ mod query_pipeline {
529529
});
530530
}
531531

532-
/// Shortcut to [`RapierQueryPipeline::colliders_with_aabb_intersecting_aabb`].
533-
pub fn colliders_with_aabb_intersecting_aabb(
532+
/// Shortcut to [`RapierQueryPipeline::intersect_aabb_conservative`].
533+
pub fn intersect_aabb_conservative(
534534
&self,
535535
#[cfg(feature = "dim2")] aabb: bevy::math::bounding::Aabb2d,
536536
#[cfg(feature = "dim3")] aabb: bevy::math::bounding::Aabb3d,

0 commit comments

Comments
 (0)