Skip to content

Commit 4cf2720

Browse files
committed
Cleanup code.
1 parent 39c18a6 commit 4cf2720

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/bin/cli.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ fn main() {
3737

3838

3939
let source = open(&Path::new(matches.value_of("INPUT").expect("expected input file"))).expect("Can't open source file");
40-
// let source = open(&Path::new("/home/marco/AndroidSync/Universität/SWT_I/Blatt_2/walter_no_alpha.png")).expect("Can't open source file");
41-
// let source = open(&Path::new("/home/marco/Downloads/windows_xp_bliss-wide.jpg")).expect("Can't open source file");
4240
let sourcebuf = source.to_rgba();
4341

4442
let mut filter = Geometrify::new(RandomPointGenerator::new(sourcebuf.width() as i32, sourcebuf.height() as i32));

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ impl Geometrify {
297297
p.spanDivSave();
298298
p
299299
}).collect::<Vec<Triangle>>();
300-
let minPrimitive = primitives.par_iter()
300+
let minPrimitive = primitives.par_iter()
301301
.map(|primitive| {
302302
let mut prim = *primitive;
303303
prim.color = Some(Geometrify::calculate_color(&image, &prim));

0 commit comments

Comments
 (0)