aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pipeline/debug_render_pipeline/debug_render_style.rs4
1 files changed, 3 insertions, 1 deletions
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 {