better square

This commit is contained in:
Ruben van de Ven 2025-07-03 13:17:52 +02:00
parent 308697fe6a
commit f63b70d218

View file

@ -140,7 +140,7 @@ impl StreamSource{
Self::Rectangle => {
let mut points = Vec::new();
let steps: usize = 10;
for i in (0..=steps).rev()a {
for i in (0..=steps).rev() {
points.push(laser::Point{
position:[0xFFF as f32, (0xFFF * i / steps) as f32],
color: [1.,1.,1.],