diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-01-25 17:33:28 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-01-25 17:33:28 +0100 |
| commit | e1f50eb6e8daa9529e41f7044e67736cc5c50953 (patch) | |
| tree | 9c70c155f42d6e5c54869ff45ae09a32f275c423 /src/geometry | |
| parent | 4799a81214d3b2ea5ee69220ea179f44142d40cc (diff) | |
| download | rapier-e1f50eb6e8daa9529e41f7044e67736cc5c50953.tar.gz rapier-e1f50eb6e8daa9529e41f7044e67736cc5c50953.tar.bz2 rapier-e1f50eb6e8daa9529e41f7044e67736cc5c50953.zip | |
Fix compilation with f64.
Diffstat (limited to 'src/geometry')
| -rw-r--r-- | src/geometry/collider.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 3a6b39b..138b9b8 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -294,7 +294,7 @@ impl ColliderBuilder { a: Point<Real>, b: Point<Real>, c: Point<Real>, - border_radius: f32, + border_radius: Real, ) -> Self { Self::new(SharedShape::round_triangle(a, b, c, border_radius)) } |
