/*
- * Sixth 3D engine. Copyright ©2012-2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Sixth 3D engine. 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
package eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
-import eu.svjatoslav.sixth.e3d.geometry.Transform;
+import eu.svjatoslav.sixth.e3d.math.Transform;
import eu.svjatoslav.sixth.e3d.renderer.raster.Color;
import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.GlowingPoint;
import eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.base.AbstractCompositeShape;
final double y1 = (y * angleCos2) + (z1 * angleSin2);
final double z2 = (z1 * angleCos2) - (y * angleSin2);
- addStar(new Point3D(x1,y1,z2));
+ addStar(new Point3D(x1, y1, z2));
}
}
private void addStar(final Point3D starLocation) {
addShape(
- new GlowingPoint(starLocation,10,
+ new GlowingPoint(starLocation, 10,
colors.get((int) (Math.random() * colors.size()))));
}