From 7dc038aec66783d72abda446d6251385e6ad30f4 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Thu, 28 Apr 2022 17:51:17 +0200 Subject: Fix test build --- src/pipeline/debug_render_pipeline/debug_render_style.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/pipeline/debug_render_pipeline/debug_render_style.rs b/src/pipeline/debug_render_pipeline/debug_render_style.rs index 0b6fa46..ac2b3a3 100644 --- a/src/pipeline/debug_render_pipeline/debug_render_style.rs +++ b/src/pipeline/debug_render_pipeline/debug_render_style.rs @@ -1,3 +1,5 @@ +use crate::math::Real; + /// A color for debug-rendering. /// /// The default colors are provided in HSLA (Hue Saturation Lightness Alpha) format. @@ -35,7 +37,7 @@ pub struct DebugRenderStyle { /// or non-dynamic for this multiplier to be applied). pub sleep_color_multiplier: [f32; 4], /// The length of the local coordinate axes rendered for a rigid-body. - pub rigid_body_axes_length: f32, + pub rigid_body_axes_length: Real, } impl Default for DebugRenderStyle { -- cgit