projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed ViewListener interface. Renamed View to ViewPanel.
[sixth-3d-demos.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
examples
/
GraphDemo.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java
b/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java
index
79027b0
..
e2ee634
100644
(file)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java
@@
-1,7
+1,6
@@
/*
/*
- * Sixth - System for data storage, computation, exploration and interaction.
- * Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
+ * Sixth 3D engine demos. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ *
* 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.
* 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.
@@
-110,7
+109,7
@@
public class GraphDemo {
final ViewFrame viewFrame = new ViewFrame();
final ViewFrame viewFrame = new ViewFrame();
- final ShapeCollection geometryCollection = viewFrame.getView()
+ final ShapeCollection geometryCollection = viewFrame.getView
Panel
()
.getContext().getRootShapeCollection();
Point3D location = new Point3D(-600, -300, 0);
.getContext().getRootShapeCollection();
Point3D location = new Point3D(-600, -300, 0);
@@
-131,7
+130,7
@@
public class GraphDemo {
location = new Point3D(600, 300, 0);
geometryCollection.addShape(getFormula3Graph(location));
location = new Point3D(600, 300, 0);
geometryCollection.addShape(getFormula3Graph(location));
- viewFrame.getView().getContext().getAvatar()
+ viewFrame.getView
Panel
().getContext().getAvatar()
.setLocation(new Point3D(0, 0, -500));
}
.setLocation(new Point3D(0, 0, -500));
}