better square
This commit is contained in:
parent
308697fe6a
commit
f63b70d218
1 changed files with 1 additions and 1 deletions
|
@ -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.],
|
||||
|
|
Loading…
Reference in a new issue