aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-01-25 17:33:28 +0100
committerCrozet Sébastien <developer@crozet.re>2021-01-25 17:33:28 +0100
commite1f50eb6e8daa9529e41f7044e67736cc5c50953 (patch)
tree9c70c155f42d6e5c54869ff45ae09a32f275c423 /src/geometry
parent4799a81214d3b2ea5ee69220ea179f44142d40cc (diff)
downloadrapier-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.rs2
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))
}