From 59e5d8e7f9151f9a3ba06c1c6414aa4ffc19fa4d Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Thu, 3 Jun 2021 09:57:56 +0200 Subject: Add nalgebra to the prelude to make the macros work out of the box --- examples3d/convex_decomposition3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples3d/convex_decomposition3.rs') diff --git a/examples3d/convex_decomposition3.rs b/examples3d/convex_decomposition3.rs index 5676f6d..64c8802 100644 --- a/examples3d/convex_decomposition3.rs +++ b/examples3d/convex_decomposition3.rs @@ -40,7 +40,7 @@ pub fn init_world(testbed: &mut Testbed) { let shift = 5.0f32; for (igeom, obj_path) in geoms.into_iter().enumerate() { - let deltas = na::one(); + let deltas = Isometry::identity(); let mut shapes = Vec::new(); println!("Parsing and decomposing: {}", obj_path); -- cgit