diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-10-20 16:22:53 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-10-20 16:22:53 +0200 |
| commit | 949e3f5384a366c3bff5415c5db4635e811a580e (patch) | |
| tree | 910467800fc3038c279c8d166833735e043d5edc /src/geometry/trimesh.rs | |
| parent | 64958470950cd9832a669b1bd5d70a2aeb6a85ef (diff) | |
| download | rapier-949e3f5384a366c3bff5415c5db4635e811a580e.tar.gz rapier-949e3f5384a366c3bff5415c5db4635e811a580e.tar.bz2 rapier-949e3f5384a366c3bff5415c5db4635e811a580e.zip | |
Fix many warnings.
Diffstat (limited to 'src/geometry/trimesh.rs')
| -rw-r--r-- | src/geometry/trimesh.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/geometry/trimesh.rs b/src/geometry/trimesh.rs index 38ce0a3..b4e8518 100644 --- a/src/geometry/trimesh.rs +++ b/src/geometry/trimesh.rs @@ -107,15 +107,15 @@ impl Trimesh { } impl PointQuery<f32> for Trimesh { - fn project_point(&self, m: &Isometry<f32>, pt: &Point<f32>, solid: bool) -> PointProjection { + fn project_point(&self, _m: &Isometry<f32>, _pt: &Point<f32>, _solid: bool) -> PointProjection { // TODO unimplemented!() } fn project_point_with_feature( &self, - m: &Isometry<f32>, - pt: &Point<f32>, + _m: &Isometry<f32>, + _pt: &Point<f32>, ) -> (PointProjection, FeatureId) { // TODO unimplemented!() @@ -126,16 +126,16 @@ impl PointQuery<f32> for Trimesh { impl RayCast<f32> for Trimesh { fn toi_and_normal_with_ray( &self, - m: &Isometry<f32>, - ray: &Ray, - max_toi: f32, - solid: bool, + _m: &Isometry<f32>, + _ray: &Ray, + _max_toi: f32, + _solid: bool, ) -> Option<RayIntersection> { // TODO None } - fn intersects_ray(&self, m: &Isometry<f32>, ray: &Ray, max_toi: f32) -> bool { + fn intersects_ray(&self, _m: &Isometry<f32>, _ray: &Ray, _max_toi: f32) -> bool { // TODO false } |
