a72f075a5c0c8b5e2844322e8816fe87df32787b
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / renderer / octree / raytracer / RayHit.java
1 /*
2  * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of version 3 of the GNU Lesser General Public License
6  * or later as published by the Free Software Foundation.
7  *
8  */
9
10 package eu.svjatoslav.sixth.e3d.renderer.octree.raytracer;
11
12 public class RayHit {
13
14     float x, y, z;
15
16     int cellPointer;
17
18     public RayHit(final float x, final float y, final float z,
19                   final int cellPointer) {
20         this.x = x;
21         this.y = y;
22         this.z = z;
23         this.cellPointer = cellPointer;
24     }
25 }