File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ fn main() {
37
37
38
38
39
39
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");
42
40
let sourcebuf = source. to_rgba ( ) ;
43
41
44
42
let mut filter = Geometrify :: new ( RandomPointGenerator :: new ( sourcebuf. width ( ) as i32 , sourcebuf. height ( ) as i32 ) ) ;
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ impl Geometrify {
297
297
p. spanDivSave ( ) ;
298
298
p
299
299
} ) . collect :: < Vec < Triangle > > ( ) ;
300
- let minPrimitive = primitives. par_iter ( )
300
+ let minPrimitive = primitives. par_iter ( )
301
301
. map ( |primitive| {
302
302
let mut prim = * primitive;
303
303
prim. color = Some ( Geometrify :: calculate_color ( & image, & prim) ) ;
You can’t perform that action at this time.
0 commit comments