*
* 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
*
* 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
import eu.svjatoslav.sixth.e3d.renderer.raster.RenderAggregator;
import java.util.concurrent.atomic.AtomicInteger;
public abstract class AbstractCoordinateShape extends AbstractShape {
import eu.svjatoslav.sixth.e3d.renderer.raster.RenderAggregator;
import java.util.concurrent.atomic.AtomicInteger;
public abstract class AbstractCoordinateShape extends AbstractShape {
public AbstractCoordinateShape(final int pointsCount) {
coordinates = new GeometryCoordinate[pointsCount];
public AbstractCoordinateShape(final int pointsCount) {
coordinates = new GeometryCoordinate[pointsCount];
- public AbstractCoordinateShape(final Point3D... locationPoints) {
- coordinates = new GeometryCoordinate[locationPoints.length];
+ public AbstractCoordinateShape(final Point3D... vertexes) {
+ coordinates = new GeometryCoordinate[vertexes.length];
- for (int i = 0; i < locationPoints.length; i++)
- coordinates[i] = new GeometryCoordinate(locationPoints[i]);
+ for (int i = 0; i < vertexes.length; i++)
+ coordinates[i] = new GeometryCoordinate(vertexes[i]);