apps.lightrays.raytracer.scene
Class RefractedRay

java.lang.Object
  extended by apps.lightrays.raytracer.scene.Ray
      extended by apps.lightrays.raytracer.scene.RefractedRay

public class RefractedRay
extends Ray

The Class RefractedRay.


Field Summary
 
Fields inherited from class apps.lightrays.raytracer.scene.Ray
origin
 
Constructor Summary
RefractedRay(Scene scene, Point origin, Vector direction, int depth, double refr)
          Instantiates a new refracted ray.
 
Method Summary
 
Methods inherited from class apps.lightrays.raytracer.scene.Ray
fire, getDepth, getDirection, getOrigin
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefractedRay

public RefractedRay(Scene scene,
                    Point origin,
                    Vector direction,
                    int depth,
                    double refr)
Instantiates a new refracted ray.

Parameters:
scene - the scene
origin - the origin
direction - the direction
depth - the depth
refr - the refr