2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
5 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
10 public double x, y, z;
13 public double xp, yp, zp;
16 public double hitX, hitY, hitZ;
19 public int hitCellSize;
21 public int hitCellX, hitCellY, hitCellZ;
23 public Ray(final double X, final double Y, final double Z, final double Xp,
24 final double Yp, final double Zp) {
35 public String toString() {
36 return "Ray \n" + " x " + x + "\n" + " y " + y + "\n" + " z " + z
37 + "\n" + " xp " + xp + "\n" + " yp " + yp + "\n" + " zp " + zp