|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.Light
public class Light
Store the data for a light source.
| Field Summary | |
|---|---|
int |
diffuse
Packed diffuse colour. |
boolean |
on
Is the light on? |
double[] |
pos
Position of the light. |
double |
power
Sheen of highlight. |
int |
specular
Packed specular colour. |
| Constructor Summary | |
|---|---|
Light(boolean onOff,
double x,
double y,
double z,
int d,
int s,
double pow)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
normalisePos()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double[] pos
public int diffuse
public int specular
public double power
public boolean on
| Constructor Detail |
|---|
public Light(boolean onOff,
double x,
double y,
double z,
int d,
int s,
double pow)
| Method Detail |
|---|
public void normalisePos()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||