docs: add explicit constructors to fix javadoc warnings
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 15 Mar 2026 19:17:08 +0000 (21:17 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 15 Mar 2026 19:17:08 +0000 (21:17 +0200)
14 files changed:
src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/OctreeDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/RainingNumbersDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/ShadedShapesDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo2.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/WindingOrderDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/SolidCubesTest.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/StarGridTest.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/WireframeCubesTest.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/galaxy_demo/PointCloudDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/life_demo/Main.java

index 5aa5e3f..1be37ee 100755 (executable)
@@ -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. */
index 6b3accc..14b62a3 100755 (executable)
@@ -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,
index b3c9d3c..84cc65e 100644 (file)
@@ -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. */
index 30c4ef9..7c04f2f 100755 (executable)
@@ -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. */
index 7d0b27d..2969b4e 100644 (file)
@@ -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;
 
index c9292a5..450e100 100644 (file)
@@ -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)
index 936aed6..79a183c 100644 (file)
@@ -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)
index d81426f..3b9e893 100644 (file)
@@ -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();
index d9e9773..e3d9abe 100644 (file)
@@ -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;
index 967a621..8ba2f86 100644 (file)
@@ -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;
index c8f4798..c89cfe6 100644 (file)
@@ -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;
index c625627..7020f6d 100644 (file)
@@ -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;
index 02d3c3e..731b35e 100644 (file)
@@ -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)
index fd8398b..4258dc7 100644 (file)
@@ -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