This commit is contained in:
Oleg Sobolev 2024-06-10 20:56:58 +07:00
parent ec477975f0
commit 50a30b74b5
2 changed files with 1 additions and 2 deletions

View file

@ -94,7 +94,6 @@ impl PolyLine {
.into_iter() .into_iter()
.map(Vector2::into) .map(Vector2::into)
.map(Vertex::new_f64) .map(Vertex::new_f64)
.into_iter()
.collect(); .collect();
let indices = if vertices.is_empty() { let indices = if vertices.is_empty() {
vec![] vec![]

View file

@ -155,7 +155,7 @@ impl<'window> State<'window> {
}, },
.. ..
} => { } => {
self.current_pipeline = self.current_pipeline ^ 1; self.current_pipeline ^= 1;
false false
} }
_ => false, _ => false,