From e1f50eb6e8daa9529e41f7044e67736cc5c50953 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Mon, 25 Jan 2021 17:33:28 +0100 Subject: Fix compilation with f64. --- src/geometry/collider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/geometry') 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, b: Point, c: Point, - border_radius: f32, + border_radius: Real, ) -> Self { Self::new(SharedShape::round_triangle(a, b, c, border_radius)) } -- cgit