aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline/debug_render_pipeline/outlines.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipeline/debug_render_pipeline/outlines.rs')
-rw-r--r--src/pipeline/debug_render_pipeline/outlines.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pipeline/debug_render_pipeline/outlines.rs b/src/pipeline/debug_render_pipeline/outlines.rs
index cd0b6ed..56e26ec 100644
--- a/src/pipeline/debug_render_pipeline/outlines.rs
+++ b/src/pipeline/debug_render_pipeline/outlines.rs
@@ -1,12 +1,12 @@
use crate::geometry::{Ball, Cuboid};
#[cfg(feature = "dim3")]
use crate::geometry::{Cone, Cylinder};
-use crate::math::{Point, Real, Vector};
+use crate::math::*;
use std::any::TypeId;
use std::collections::HashMap;
#[cfg(feature = "dim2")]
-pub fn instances(nsubdivs: u32) -> HashMap<TypeId, Vec<Point<Real>>> {
+pub fn instances(nsubdivs: u32) -> HashMap<TypeId, Vec<Point>> {
let mut result = HashMap::new();
result.insert(
TypeId::of::<Cuboid>(),
@@ -18,7 +18,7 @@ pub fn instances(nsubdivs: u32) -> HashMap<TypeId, Vec<Point<Real>>> {
#[cfg(feature = "dim3")]
#[allow(clippy::type_complexity)]
-pub fn instances(nsubdivs: u32) -> HashMap<TypeId, (Vec<Point<Real>>, Vec<[u32; 2]>)> {
+pub fn instances(nsubdivs: u32) -> HashMap<TypeId, (Vec<Point>, Vec<[u32; 2]>)> {
let mut result = HashMap::new();
result.insert(
TypeId::of::<Cuboid>(),