X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fexamples%2FOctreeDemo.java;h=9b87aac939b09314878fc307f85bbc67890218f7;hb=2150c62adc9f6b7696884422ffc47767f784fd9d;hp=c26245fc3648060afafc1aa1027230050fb037c7;hpb=ee85b7fbac8b2f5e329b7fa590a0dcf7691a1084;p=sixth-3d-demos.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java index c26245f..9b87aac 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java @@ -1,5 +1,5 @@ /* - * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine demos. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License @@ -9,7 +9,7 @@ package eu.svjatoslav.sixth.e3d.examples; import eu.svjatoslav.sixth.e3d.geometry.Point3D; -import eu.svjatoslav.sixth.e3d.geometry.Transform; +import eu.svjatoslav.sixth.e3d.math.Transform; import eu.svjatoslav.sixth.e3d.gui.ViewContext; import eu.svjatoslav.sixth.e3d.gui.ViewFrame; import eu.svjatoslav.sixth.e3d.gui.humaninput.WorldNavigationTracker; @@ -27,7 +27,6 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas.TextC import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe.Grid3D; import java.awt.event.KeyEvent; -import java.io.IOException; import java.util.Vector; public class OctreeDemo extends WorldNavigationTracker { @@ -40,7 +39,7 @@ public class OctreeDemo extends WorldNavigationTracker { private ShapeCollection shapeCollection; private ViewContext context; - public static void main(final String[] args) throws IOException { + public static void main(final String[] args) { new OctreeDemo().init(); } @@ -88,7 +87,7 @@ public class OctreeDemo extends WorldNavigationTracker { } } - private void init() throws IOException { + private void init() { final ViewFrame viewFrame = new ViewFrame(); context = viewFrame.getView().getContext();