projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore IntelliJ and JRebel project files
[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
5ff3bfd
..
82210b0
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java
@@
-45,7
+45,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;
}
@@
-61,8
+61,8
@@
public class RandomPolygonsDemo {
final ViewFrame viewFrame = new ViewFrame();
final ViewFrame viewFrame = new ViewFrame();
- final ShapeCollection shapeCollection = viewFrame.getView()
- .get
Context().get
RootShapeCollection();
+ final ShapeCollection shapeCollection = viewFrame.getView
Panel
()
+ .getRootShapeCollection();
// add grid
final LineAppearance appearance = new LineAppearance(5, new Color(100,
// add grid
final LineAppearance appearance = new LineAppearance(5, new Color(100,