Code refactoring
[sixth-3d-demos.git] / src / main / java / eu / svjatoslav / sixth / e3d / examples / life / Cell.java
index 9b14866..fb78e4b 100755 (executable)
@@ -56,7 +56,7 @@ class Cell extends AbstractCompositeShape implements
     }
 
     private void createCellShape() {
-        final double halfSize = SIZE / 2;
+        final double halfSize = SIZE / 2f;
 
         // define 4 points corresponding to cell borders
         final Point3D p1 = new Point3D(-halfSize, 0, -halfSize);