We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0532423 commit 08b2177Copy full SHA for 08b2177
Classes/LowPoly.java
@@ -511,7 +511,7 @@ public void actionPerformed(ActionEvent e) {
511
}
512
//wallLines
513
//System.out.println(counter);
514
- System.out.println("Number Of Empty Pixels "+(1.0-((count())/((double)((currentImage.length * currentImage[0].length))))) + "%");
+ System.out.println("Number Of Empty Pixels "+(int)(100*(1.0-((count())/((double)((currentImage.length * currentImage[0].length)))))) + "%");
515
//repaint();
516
517
/*
0 commit comments