From: Svjatoslav Agejenko Date: Sat, 14 Jul 2018 00:11:00 +0000 (+0300) Subject: Code cleanup and formatting. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=6097d247fee35a001a66bb20667f9dd51b23ae29;p=sixth-3d-demos.git Code cleanup and formatting. --- diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java index 5e2009d..679e43f 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java @@ -48,8 +48,7 @@ public class GraphDemo { return new Graph(scale, data, "y = sin(tan(x))", location); } - private static Graph getFormula2Graph(final Point3D location) - throws IOException { + private static Graph getFormula2Graph(final Point3D location) { final List data = new ArrayList<>(); for (double x = 0; x < 20; x += 0.25) { final double y = (Math.pow((10 - x), 2) / 30) - 2;