Class LightModel

java.lang.Object
  extended by LightModel

public class LightModel
extends java.lang.Object


Constructor Summary
LightModel()
           
 
Method Summary
 void addDirectional(Vector dir, double intensity)
           
 int colorFor(Point p, Vector n)
           
 void setAmbientIntensity(double a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightModel

public LightModel()
Method Detail

setAmbientIntensity

public void setAmbientIntensity(double a)

addDirectional

public void addDirectional(Vector dir,
                           double intensity)

colorFor

public int colorFor(Point p,
                    Vector n)