it starts with 3D movement!

This commit is contained in:
rusefillc 2023-01-27 01:49:59 -05:00
parent 299d7e6546
commit f73e70234e
1 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,12 @@ import org.jzy3d.plot3d.primitives.Shape;
import org.jzy3d.plot3d.rendering.canvas.Quality;
public class SurfaceDemo extends AbstractAnalysis {
AWTChartComponentFactory f = new AWTChartComponentFactory();
public SurfaceDemo() {
super(/* weird it works with null?!*/null);
}
public static void main(String[] args) throws Exception {
AnalysisLauncher.open(new SurfaceDemo());
}
@ -40,7 +46,7 @@ public class SurfaceDemo extends AbstractAnalysis {
surface.setWireframeDisplayed(false);
// Create a chart
chart = AWTChartComponentFactory.chart(Quality.Advanced, getCanvasType());
chart = f.newChart(Quality.Advanced, getCanvasType());
chart.getScene().getGraph().add(surface);
}
}