diff options
Diffstat (limited to 'src_testbed/debug_render.rs')
| -rw-r--r-- | src_testbed/debug_render.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src_testbed/debug_render.rs b/src_testbed/debug_render.rs index 0e0b8b8..c08ea8f 100644 --- a/src_testbed/debug_render.rs +++ b/src_testbed/debug_render.rs @@ -36,7 +36,7 @@ struct BevyLinesRenderBackend<'a> { impl<'a> DebugRenderBackend for BevyLinesRenderBackend<'a> { #[cfg(feature = "dim2")] - fn draw_line(&mut self, _: DebugRenderObject, a: Point<Real>, b: Point<Real>, color: [f32; 4]) { + fn draw_line(&mut self, _: DebugRenderObject, a: Point, b: Point, color: [f32; 4]) { self.gizmos.line( [a.x as f32, a.y as f32, 1.0e-8].into(), [b.x as f32, b.y as f32, 1.0e-8].into(), @@ -44,7 +44,7 @@ impl<'a> DebugRenderBackend for BevyLinesRenderBackend<'a> { ) } #[cfg(feature = "dim3")] - fn draw_line(&mut self, _: DebugRenderObject, a: Point<Real>, b: Point<Real>, color: [f32; 4]) { + fn draw_line(&mut self, _: DebugRenderObject, a: Point, b: Point, color: [f32; 4]) { self.gizmos.line( [a.x as f32, a.y as f32, a.z as f32].into(), [b.x as f32, b.y as f32, b.z as f32].into(), |
