Release v0.22.0 (#695)

This commit is contained in:
Sébastien Crozet
2024-07-20 17:14:43 +02:00
committed by GitHub
parent 55a7d8b7ad
commit cf74150763
13 changed files with 23 additions and 20 deletions

View File

@@ -16,4 +16,4 @@ edition = "2021"
thiserror = "1.0.61"
stl_io = "0.7"
rapier3d = { version = "0.21", path = "../rapier3d" }
rapier3d = { version = "0.22", path = "../rapier3d" }

View File

@@ -90,7 +90,7 @@ pub fn load_from_raw_mesh(
let mut vertices: Vec<_> = raw_mesh
.vertices
.iter()
.map(|xyz| Point::new(xyz[0] as Real, xyz[1] as Real, xyz[2] as Real))
.map(|xyz| Point::new(xyz[0], xyz[1], xyz[2]))
.collect();
vertices
.iter_mut()