refactor(demo): simplify benchmark teardown and improve CSG demo structure feat master
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 1 Apr 2026 20:12:44 +0000 (23:12 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 1 Apr 2026 20:12:44 +0000 (23:12 +0300)
commit9e71a310f2bedbc1ec5c7317b74d8abaa30eed65
treebcb8c2d794e389e7d52ec0e1951bfad042a7eb80
parent9a923eda489f9f2e391604e919ed46c0c363ba9b
refactor(demo): simplify benchmark teardown and improve CSG demo structure

- Replace manual shape removal loops with shapes.clear() in all benchmark
  teardown methods for cleaner and more efficient cleanup
- Extract createCube() and createSphere() factory methods in CSGDemo to
  encapsulate shape creation with appropriate shading settings (cubes with
  shading enabled, spheres with shading disabled for glow effect)
- Update CSG demo colors to green/orange palette and enhance lighting
  configuration with brighter lights and warm fill tint
- Use static color imports for cleaner code in description panels
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/LitSolidCubesTest.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/essentials/CSGDemo.java