aboutsummaryrefslogtreecommitdiff
path: root/examples3d/convex_polyhedron3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples3d/convex_polyhedron3.rs')
-rw-r--r--examples3d/convex_polyhedron3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/convex_polyhedron3.rs b/examples3d/convex_polyhedron3.rs
index 980720a..986dea9 100644
--- a/examples3d/convex_polyhedron3.rs
+++ b/examples3d/convex_polyhedron3.rs
@@ -47,7 +47,7 @@ pub fn init_world(testbed: &mut Testbed) {
let mut points = Vec::new();
for _ in 0..10 {
- let pt: Point<f32> = distribution.sample(&mut rng);
+ let pt: Point = distribution.sample(&mut rng);
points.push(pt * scale);
}