Fix compilation with f64.

This commit is contained in:
Crozet Sébastien
2021-01-25 17:33:28 +01:00
parent 4799a81214
commit e1f50eb6e8

View File

@@ -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))
}