Skip to content

Commit 084efbc

Browse files
committed
fix test
1 parent 0f3a15e commit 084efbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/parry3d/examples/convex_decomposition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async fn main() {
5252
next_frame().await;
5353
let mesh_vertices = bunny_mesh.vertices();
5454
let mesh_indices = bunny_mesh.indices();
55-
let convex_mesh = SharedShape::convex_decomposition(&mesh_vertices, &mesh_indices);
55+
let convex_mesh = SharedShape::convex_decomposition(&mesh_vertices, &mesh_indices).unwrap();
5656
let trimesh_convex_compound = convex_mesh.as_compound().unwrap();
5757

5858
let shapes_count = trimesh_convex_compound.shapes().len() as u32;

0 commit comments

Comments
 (0)