diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-04-28 17:51:17 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-04-28 17:51:17 +0200 |
| commit | 7dc038aec66783d72abda446d6251385e6ad30f4 (patch) | |
| tree | 4c19f613750fcd8779714915dbb752ce369a4173 /src | |
| parent | 65824e74f3a949343059b3bf5ab51bc7920f416d (diff) | |
| download | rapier-7dc038aec66783d72abda446d6251385e6ad30f4.tar.gz rapier-7dc038aec66783d72abda446d6251385e6ad30f4.tar.bz2 rapier-7dc038aec66783d72abda446d6251385e6ad30f4.zip | |
Fix test build
Diffstat (limited to 'src')
| -rw-r--r-- | src/pipeline/debug_render_pipeline/debug_render_style.rs | 4 |
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 { |
