projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed license to Creative Commons Zero (CC0).
[sixth-3d-demos.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
examples
/
RandomPolygonsDemo.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
index
7534148
..
0d34265
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
@@
-1,10
+1,8
@@
/*
/*
- * Sixth 3D engine demos. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Sixth 3D engine demos. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
*
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
- */
+*/
package eu.svjatoslav.sixth.e3d.examples;
package eu.svjatoslav.sixth.e3d.examples;
@@
-45,7
+43,7
@@
public class RandomPolygonsDemo {
}
/* I don't want very dark polygons, so ensure there is at least some
}
/* I don't want very dark polygons, so ensure there is at least some
-
* brightness present. */
+ * brightness present. */
private static double getColorChannelBrightness() {
return Math.random() * 0.7 + 0.3f;
}
private static double getColorChannelBrightness() {
return Math.random() * 0.7 + 0.3f;
}
@@
-62,7
+60,7
@@
public class RandomPolygonsDemo {
final ViewFrame viewFrame = new ViewFrame();
final ShapeCollection shapeCollection = viewFrame.getViewPanel()
final ViewFrame viewFrame = new ViewFrame();
final ShapeCollection shapeCollection = viewFrame.getViewPanel()
- .get
Context().get
RootShapeCollection();
+ .getRootShapeCollection();
// add grid
final LineAppearance appearance = new LineAppearance(5, new Color(100,
// add grid
final LineAppearance appearance = new LineAppearance(5, new Color(100,