From: Svjatoslav Agejenko Date: Sun, 15 Mar 2026 19:17:08 +0000 (+0200) Subject: docs: add explicit constructors to fix javadoc warnings X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=65465847b1cc5ae9ccfac8d16fcfd84db3dae039;p=sixth-3d-demos.git docs: add explicit constructors to fix javadoc warnings --- 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 5aa5e3f..1be37ee 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java @@ -26,6 +26,12 @@ import java.util.List; */ public class GraphDemo { + /** + * Creates a new GraphDemo instance. + */ + public GraphDemo() { + } + /** Frequency of the wave pattern in the wobbly surfaces. */ private static final double WAVE_FREQUENCY = 50d; /** Amplitude of the wave pattern in the wobbly surfaces. */ 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 6b3accc..14b62a3 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java @@ -35,6 +35,12 @@ import java.util.Vector; */ public class OctreeDemo extends WorldNavigationUserInputTracker { + /** + * Creates a new OctreeDemo instance. + */ + public OctreeDemo() { + } + /** Scale factor for rendering octree voxels in the scene. */ private static final double magnification = 5; private final LineAppearance gridAppearance = new LineAppearance(40, new Color(255, diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RainingNumbersDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RainingNumbersDemo.java index b3c9d3c..84cc65e 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RainingNumbersDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RainingNumbersDemo.java @@ -26,6 +26,12 @@ import java.util.Random; */ public class RainingNumbersDemo implements FrameListener { + /** + * Creates a new RainingNumbersDemo instance. + */ + public RainingNumbersDemo() { + } + /** Number of falling numbers in the scene. */ private static final int NUMBERS_COUNT = 1000; /** Size of the cubic area containing the numbers. */ diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java index 30c4ef9..7c04f2f 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java @@ -21,6 +21,12 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe.Grid3D */ public class RandomPolygonsDemo { + /** + * Creates a new RandomPolygonsDemo instance. + */ + public RandomPolygonsDemo() { + } + /** Average size of each random polygon. */ private static final double POLYGON_AVERAGE_SIZE = 130; /** Number of polygons to generate. */ diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/ShadedShapesDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/ShadedShapesDemo.java index 7d0b27d..2969b4e 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/ShadedShapesDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/ShadedShapesDemo.java @@ -23,6 +23,12 @@ import java.util.Random; */ public class ShadedShapesDemo { + /** + * Creates a new ShadedShapesDemo instance. + */ + public ShadedShapesDemo() { + } + /** Number of orbiting light sources in the scene. */ private static final int LIGHT_COUNT = 10; diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java index c9292a5..450e100 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java @@ -27,6 +27,12 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe.Grid2D */ public class TextEditorDemo { + /** + * Creates a new TextEditorDemo instance. + */ + public TextEditorDemo() { + } + /** * Entry point for the text editor demo. * @param args command line arguments (ignored) diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo2.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo2.java index 936aed6..79a183c 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo2.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo2.java @@ -35,6 +35,12 @@ import java.util.stream.Collectors; */ public class TextEditorDemo2 { + /** + * Creates a new TextEditorDemo2 instance. + */ + public TextEditorDemo2() { + } + /** * Entry point for the text editor city demo. * @param args command line arguments (ignored) diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/WindingOrderDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/WindingOrderDemo.java index d81426f..3b9e893 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/WindingOrderDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/WindingOrderDemo.java @@ -25,6 +25,16 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon.SolidPo */ public class WindingOrderDemo { + /** + * Creates a new WindingOrderDemo instance. + */ + public WindingOrderDemo() { + } + + /** + * Entry point for the winding order demo. + * @param args command line arguments (ignored) + */ public static void main(String[] args) { ViewFrame viewFrame = new ViewFrame(); ViewPanel viewPanel = viewFrame.getViewPanel(); diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/SolidCubesTest.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/SolidCubesTest.java index d9e9773..e3d9abe 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/SolidCubesTest.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/SolidCubesTest.java @@ -21,6 +21,12 @@ import java.util.Random; */ public class SolidCubesTest implements BenchmarkTest { + /** + * Creates a new SolidCubesTest instance. + */ + public SolidCubesTest() { + } + private static final int GRID_SIZE = 16; private static final double SPACING = 80; private static final double CUBE_SIZE = 25; diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/StarGridTest.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/StarGridTest.java index 967a621..8ba2f86 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/StarGridTest.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/StarGridTest.java @@ -21,6 +21,12 @@ import java.util.Random; */ public class StarGridTest implements BenchmarkTest { + /** + * Creates a new StarGridTest instance. + */ + public StarGridTest() { + } + private static final int GRID_SIZE = 16; private static final double SPACING = 80; private static final double STAR_SIZE = 20; diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java index c8f4798..c89cfe6 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java @@ -20,6 +20,12 @@ import java.util.Random; */ public class TexturedCubesTest implements BenchmarkTest { + /** + * Creates a new TexturedCubesTest instance. + */ + public TexturedCubesTest() { + } + private static final int GRID_SIZE = 16; private static final double SPACING = 80; private static final double CUBE_SIZE = 25; diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/WireframeCubesTest.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/WireframeCubesTest.java index c625627..7020f6d 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/WireframeCubesTest.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/WireframeCubesTest.java @@ -21,6 +21,12 @@ import java.util.Random; */ public class WireframeCubesTest implements BenchmarkTest { + /** + * Creates a new WireframeCubesTest instance. + */ + public WireframeCubesTest() { + } + private static final int GRID_SIZE = 16; private static final double SPACING = 80; private static final double CUBE_SIZE = 25; diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/galaxy_demo/PointCloudDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/galaxy_demo/PointCloudDemo.java index 02d3c3e..731b35e 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/galaxy_demo/PointCloudDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/galaxy_demo/PointCloudDemo.java @@ -17,6 +17,12 @@ import eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection; */ public class PointCloudDemo { + /** + * Creates a new PointCloudDemo instance. + */ + public PointCloudDemo() { + } + /** * Entry point for the point cloud demo. * @param args command line arguments (ignored) diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/life_demo/Main.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/life_demo/Main.java index fd8398b..4258dc7 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/life_demo/Main.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/life_demo/Main.java @@ -29,6 +29,12 @@ import java.awt.event.KeyEvent; */ public class Main extends WorldNavigationUserInputTracker { + /** + * Creates a new Main instance for the Game of Life demo. + */ + public Main() { + } + /** The game of life matrix, centered at the origin. */ private static final Matrix MATRIX = new Matrix( new Point3D() // position matrix in the center of the scene