We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3a15e commit 084efbcCopy full SHA for 084efbc
1 file changed
crates/parry3d/examples/convex_decomposition.rs
@@ -52,7 +52,7 @@ async fn main() {
52
next_frame().await;
53
let mesh_vertices = bunny_mesh.vertices();
54
let mesh_indices = bunny_mesh.indices();
55
- let convex_mesh = SharedShape::convex_decomposition(&mesh_vertices, &mesh_indices);
+ let convex_mesh = SharedShape::convex_decomposition(&mesh_vertices, &mesh_indices).unwrap();
56
let trimesh_convex_compound = convex_mesh.as_compound().unwrap();
57
58
let shapes_count = trimesh_convex_compound.shapes().len() as u32;
0 commit comments