Compare commits

..

No commits in common. "e0b81abd331e5a1ad7a20ed5a2f3c0403a905f09" and "1361447d0fc5615e5bb63e5702a3d2cd807f0d0f" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View file

@ -310,7 +310,7 @@ impl HomographyFilter {
}).flatten().collect();
LaserPoints{
points: cursor_points,
space: CoordinateSpace::Laser, // still need to be pincushioned
space: CoordinateSpace::RawLaser, // don't run these through filters anymore
}
}
}

View file

@ -180,28 +180,28 @@ pub fn shape_rect(space: LaserSpace, steps: usize) -> LaserPoints {
for i in (0..=steps).rev() {
points.push(laser::Point{
position:[0xFFF as f32 * factor - offset, (0xFFF * i / steps) as f32 * factor - offset],
color: [1.0,1.0,1.0],
color: [0.2,0.2,0.2],
weight: 0,
});
}
for i in (0..steps).rev() {
points.push(laser::Point{
position:[(0xFFF * i / steps) as f32 * factor - offset, 0.0 * factor - offset],
color: [1.0,1.0,1.0],
color: [0.2,0.2,0.2],
weight: 0,
});
}
for i in 0..steps {
points.push(laser::Point{
position:[0.0 * factor - offset, (0xFFF * i / steps) as f32 * factor - offset],
color: [1.0,1.0,1.0],
color: [0.2,0.2,0.2],
weight: 0,
});
}
for i in 0..=steps {
points.push(laser::Point{
position:[(0xFFF * i / steps) as f32 * factor - offset , 0xFFF as f32 * factor - offset],
color: [1.0,1.0,1.0],
color: [0.2,0.2,0.2],
weight: 0,
});
}