From 8d125af6606c9a8432feabc7393e522ab5d29cfe Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Mon, 17 Sep 2018 01:07:28 +0300 Subject: [PATCH] Galaxy and glowing point visual improvements. --- .../java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java | 2 +- src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java index 9185614..974ecc7 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java @@ -26,7 +26,7 @@ public class PointCloudDemo { Transform transform = new Transform(new Point3D(0, -1000, 1000), 0, 0); // add galaxy - geometryCollection.addShape(new Galaxy(1000, 3, 10000, transform)); + geometryCollection.addShape(new Galaxy(500, 3, 10000, transform)); } } diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java index 18f2d57..9b14866 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java @@ -27,11 +27,11 @@ class Cell extends AbstractCompositeShape implements /** * Color of the inactive cell (R, G, B, A) */ - private static final Color INACTIVE_COLOR = new Color("55F5"); + private static final Color INACTIVE_COLOR = new Color("55F8"); /** * Color of the inactive cell (R, G, B, A) while mouse is over it. */ - private static final Color INACTIVE_COLOR_MOUSE_OVER = new Color("77F7"); + private static final Color INACTIVE_COLOR_MOUSE_OVER = new Color("77F8"); /** * A placeholder variable to help in next generation computation. Indicates * whether cell is going to survive within next generation. -- 2.20.1