org.autochthonous.graphics.rt
Class Ray
java.lang.Object
org.autochthonous.graphics.rt.Ray
- public class Ray
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
done
public boolean done
id
public int id
level
public int level
time
public float time
tMin
public float tMin
tMax
public float tMax
col
public Color3f col
org
public Point3f org
dir
public Vector3f dir
orgObj
public Renderable orgObj
theHit
public Hit theHit
hit
public Hit hit
lastRi
public float lastRi
currentRi
public float currentRi
getInstance
public static Ray getInstance()
dispose
public void dispose()
copyHit
public void copyHit(Hit other)
setHit
public void setHit(Renderable obj,
float t,
ColorCalculator colorCalc,
NormalCalculator normCalc,
TextureMapper stMapper,
Shader shader)
setTheHit
public void setTheHit()
trace
public boolean trace(Traceable obj,
Pixel pix)
trace
public boolean trace(Traceable obj,
Background background,
Pixel pix)
toString
public java.lang.String toString()