projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code refactoring
[sixth-3d-demos.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
examples
/
life
/
Cell.java
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
9b14866
..
fb78e4b
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java
@@
-56,7
+56,7
@@
class Cell extends AbstractCompositeShape implements
}
private void createCellShape() {
- final double halfSize = SIZE / 2;
+ final double halfSize = SIZE / 2
f
;
// define 4 points corresponding to cell borders
final Point3D p1 = new Point3D(-halfSize, 0, -halfSize);