projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright
[sixth-3d-demos.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
examples
/
PointCloudDemo.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java
b/src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java
index
04ae570
..
555066e
100644
(file)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.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-2019, 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.
@@
-10,8
+9,8
@@
package eu.svjatoslav.sixth.e3d.examples;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
package eu.svjatoslav.sixth.e3d.examples;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
-import eu.svjatoslav.sixth.e3d.geometry.Transform;
import eu.svjatoslav.sixth.e3d.gui.ViewFrame;
import eu.svjatoslav.sixth.e3d.gui.ViewFrame;
+import eu.svjatoslav.sixth.e3d.math.Transform;
import eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection;
import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.Galaxy;
import eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection;
import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.Galaxy;
@@
-21,13
+20,13
@@
public class PointCloudDemo {
final ViewFrame viewFrame = new ViewFrame();
final ViewFrame viewFrame = new ViewFrame();
- final ShapeCollection geometryCollection = viewFrame.getView()
- .get
Context().get
RootShapeCollection();
+ final ShapeCollection geometryCollection = viewFrame.getView
Panel
()
+ .getRootShapeCollection();
Transform transform = new Transform(new Point3D(0, -1000, 1000), 0, 0);
// add galaxy
Transform transform = new Transform(new Point3D(0, -1000, 1000), 0, 0);
// add galaxy
- geometryCollection.addShape(new Galaxy(
10
00, 3, 10000, transform));
+ geometryCollection.addShape(new Galaxy(
5
00, 3, 10000, transform));
}
}
}
}