|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaytracing.Lamp
public class Lamp
| 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 |
|---|
public Tuple.Tuple3f origin
| Constructor Detail |
|---|
public Lamp(Tuple.Tuple3f origin,
int color)
| Method Detail |
|---|
public boolean getSample(Ray state,
java.lang.Integer color)
public int getColor()
public void draw(processing.core.PApplet g,
float radius)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||