refactor(rgb-cube): remove unused camera distance constant
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 24 Oct 2026 10:48:07 +0000 (13:48 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 24 Oct 2026 10:48:07 +0000 (13:48 +0300)
Remove CAMERA_DISTANCE and its obsolete documentation from RGBCubeDemo.
The demo positions the camera with an explicit tuned transform, so the
unused constant had no effect on scene construction or rendering.

src/main/java/eu/svjatoslav/aukio/e3d/examples/RGBCubeDemo.java

index 88aa186..2ce01f8 100644 (file)
@@ -51,9 +51,6 @@ public class RGBCubeDemo {
     /** Half the grid size for centering calculations. */
     private static final double HALF_GRID = GRID_SIZE / 2.0;
 
-    /** Camera distance from the cube center. */
-    private static final double CAMERA_DISTANCE = 600;
-
     /** Texture size in pixels for each square. */
     private static final int TEXTURE_SIZE = 32;