From a9e3441ecd64d50b478ab5370fabe187ec9a5c39 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 19 Mar 2022 16:23:09 +0100 Subject: Rename rigid-body `static` to `fixed` --- src_testbed/graphics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src_testbed/graphics.rs') diff --git a/src_testbed/graphics.rs b/src_testbed/graphics.rs index 8bf787d..847258d 100644 --- a/src_testbed/graphics.rs +++ b/src_testbed/graphics.rs @@ -170,11 +170,11 @@ impl GraphicsManager { &mut self, materials: &mut Assets, handle: RigidBodyHandle, - is_static: bool, + is_fixed: bool, ) -> Point3 { let mut color = self.ground_color; - if !is_static { + if !is_fixed { match self.b2color.get(&handle).cloned() { Some(c) => color = c, None => color = Self::gen_color(&mut self.rand), -- cgit