Raytracing
Class Lamp

java.lang.Object
  extended by Raytracing.Lamp

public class Lamp
extends java.lang.Object


Field Summary
 Tuple.Tuple3f origin
           
 
Constructor Summary
Lamp(Tuple.Tuple3f origin, int color)
          Creates a new instance of Lamp
 
Method Summary
 void draw(processing.core.PApplet g, float radius)
           
 int getColor()
           
 boolean getSample(Ray state, java.lang.Integer color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origin

public Tuple.Tuple3f origin
Constructor Detail

Lamp

public Lamp(Tuple.Tuple3f origin,
            int color)
Creates a new instance of Lamp

Method Detail

getSample

public boolean getSample(Ray state,
                         java.lang.Integer color)

getColor

public int getColor()

draw

public void draw(processing.core.PApplet g,
                 float radius)