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
/
TextEditorDemo.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java
b/src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java
index
e50c27f
..
ea2a867
100644
(file)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/TextEditorDemo.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.
@@
-12,7
+11,7
@@
package eu.svjatoslav.sixth.e3d.examples;
import eu.svjatoslav.sixth.e3d.geometry.Point2D;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
import eu.svjatoslav.sixth.e3d.geometry.Rectangle;
import eu.svjatoslav.sixth.e3d.geometry.Point2D;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
import eu.svjatoslav.sixth.e3d.geometry.Rectangle;
-import eu.svjatoslav.sixth.e3d.
geometry
.Transform;
+import eu.svjatoslav.sixth.e3d.
math
.Transform;
import eu.svjatoslav.sixth.e3d.gui.ViewContext;
import eu.svjatoslav.sixth.e3d.gui.ViewFrame;
import eu.svjatoslav.sixth.e3d.gui.textEditorComponent.TextEditComponent;
import eu.svjatoslav.sixth.e3d.gui.ViewContext;
import eu.svjatoslav.sixth.e3d.gui.ViewFrame;
import eu.svjatoslav.sixth.e3d.gui.textEditorComponent.TextEditComponent;
@@
-37,9
+36,9
@@
public class TextEditorDemo {
public static void main(final String[] args) {
final ViewFrame viewFrame = new ViewFrame();
public static void main(final String[] args) {
final ViewFrame viewFrame = new ViewFrame();
- final ViewContext viewContext = viewFrame.getView().getContext();
+ final ViewContext viewContext = viewFrame.getView
Panel
().getContext();
- final ShapeCollection shapeCollection = viewFrame.getView()
+ final ShapeCollection shapeCollection = viewFrame.getView
Panel
()
.getContext().getRootShapeCollection();
shapeCollection.addShape(createGrid());
.getContext().getRootShapeCollection();
shapeCollection.addShape(createGrid());