de.grogra.ray.light
Class NoShadows

java.lang.Object
  extended by de.grogra.ray.light.NoShadows
All Implemented Interfaces:
ShadowProcessor

public class NoShadows
extends java.lang.Object
implements ShadowProcessor


Constructor Summary
NoShadows()
           
 
Method Summary
 boolean shadowRay(Ray light, float length, Ray view, IntersectionDescription desc)
          Calculate to shadowed color of the light ray to the specified point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoShadows

public NoShadows()
Method Detail

shadowRay

public boolean shadowRay(Ray light,
                         float length,
                         Ray view,
                         IntersectionDescription desc)
Description copied from interface: ShadowProcessor
Calculate to shadowed color of the light ray to the specified point.

Specified by:
shadowRay in interface ShadowProcessor
Returns:
True if the the light ray is totally shadowed.