aboutsummaryrefslogtreecommitdiff
path: root/src_testbed/graphics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src_testbed/graphics.rs')
-rw-r--r--src_testbed/graphics.rs4
1 files changed, 2 insertions, 2 deletions
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<BevyMaterial>,
handle: RigidBodyHandle,
- is_static: bool,
+ is_fixed: bool,
) -> Point3<f32> {
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),