From: Svjatoslav Agejenko Date: Sat, 24 Oct 2026 10:48:07 +0000 (+0300) Subject: refactor(rgb-cube): remove unused camera distance constant X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=611221990795a55d9529f4fa4cfc6627b28b0004;p=aukio-3d-demos.git refactor(rgb-cube): remove unused camera distance constant 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. --- diff --git a/src/main/java/eu/svjatoslav/aukio/e3d/examples/RGBCubeDemo.java b/src/main/java/eu/svjatoslav/aukio/e3d/examples/RGBCubeDemo.java index 88aa186..2ce01f8 100644 --- a/src/main/java/eu/svjatoslav/aukio/e3d/examples/RGBCubeDemo.java +++ b/src/main/java/eu/svjatoslav/aukio/e3d/examples/RGBCubeDemo.java @@ -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;