import eu.svjatoslav.sixth.e3d.geometry.Point3D;
import eu.svjatoslav.sixth.e3d.gui.RenderingContext;
+/**
+ * A point in 3D space with a transformed and on-screen coordinates.
+ */
public class GeometryCoordinate {
+ /**
+ * The original coordinate.
+ */
public Point3D coordinate;
+
+ /**
+ * The transformed coordinate.
+ */
public Point3D transformedCoordinate;
+
+ /**
+ * The on-screen coordinate.
+ */
public Point2D onScreenCoordinate;
private int lastTransformedFrame;
onScreenCoordinate = new Point2D();
}
- public void transform(final TransformPipe transforms,
+ /**
+ * Transforms the coordinate.
+ *
+ * @param transforms
+ * The transform pipe.
+ * @param renderContext
+ * The rendering context.
+ */
+ public void transform(final TransformsPipeline transforms,
final RenderingContext renderContext) {
if (lastTransformedFrame == renderContext.frameNumber)