SGBackground
Class Gradient

java.lang.Object
  extended by SGBackground.Background
      extended by SGBackground.Gradient

public class Gradient
extends Background


Constructor Summary
Gradient(processing.core.PApplet parent, int res)
          Creates a new instance of Gradient
 
Method Summary
 void addLight(Tuple.Tuple3f loc, int color, float distance, float phongExp)
           
 void draw()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gradient

public Gradient(processing.core.PApplet parent,
                int res)
Creates a new instance of Gradient

Method Detail

addLight

public void addLight(Tuple.Tuple3f loc,
                     int color,
                     float distance,
                     float phongExp)

draw

public void draw()
Specified by:
draw in class Background