X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fexamples%2FGraphDemo.java;h=e2ee634bf5563a2c3224fc78b249622feedeb949;hp=7bcaed729c9c53651fe21abd19f7a1cb0c729f00;hb=335758c2678788d95da705b28dbebe4ba206c103;hpb=2150c62adc9f6b7696884422ffc47767f784fd9d 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 7bcaed7..e2ee634 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/GraphDemo.java @@ -109,7 +109,7 @@ public class GraphDemo { final ViewFrame viewFrame = new ViewFrame(); - final ShapeCollection geometryCollection = viewFrame.getView() + final ShapeCollection geometryCollection = viewFrame.getViewPanel() .getContext().getRootShapeCollection(); Point3D location = new Point3D(-600, -300, 0); @@ -130,7 +130,7 @@ public class GraphDemo { location = new Point3D(600, 300, 0); geometryCollection.addShape(getFormula3Graph(location)); - viewFrame.getView().getContext().getAvatar() + viewFrame.getViewPanel().getContext().getAvatar() .setLocation(new Point3D(0, 0, -500)); }