Fixed git clone URL
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / octree / raytracer / Ray.java
1 /*
2  * Sixth 3D engine. Author: Svjatoslav Agejenko.
3  * This project is released under Creative Commons Zero (CC0) license.
4  */
5 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
6
7 import eu.svjatoslav.sixth.e3d.geometry.Point3D;
8
9 public class Ray {
10
11     // ray origin
12     public Point3D origin;
13
14     // ray direction
15     public Point3D direction;
16
17     // ray hit point
18     public Point3D hitPoint;
19
20     public int hitCellSize;
21
22     public int hitCellX, hitCellY, hitCellZ;
23
24     public Ray(Point3D origin, Point3D direction) {
25         this.origin = origin;
26         this.direction = direction;
27     }
28
29 }