public class Sun
extends java.lang.Object
Constructor and Description |
---|
Sun()
Set up the sun with the current time.
|
Sun(java.util.Date date)
Set up the sun with the given date/time.
|
Modifier and Type | Method and Description |
---|---|
float[] |
asPosition() |
void |
finalize() |
Point3d |
getDirection()
Return the vector corresponding to the sun location from the earth.
|
Light |
makeLight()
Make a Light from the current time.
|
void |
setDate(java.util.Date date) |
public Sun()
public Sun(java.util.Date date)
public Light makeLight()
public void setDate(java.util.Date date)
public Point3d getDirection()
public float[] asPosition()
public void finalize()
finalize
in class java.lang.Object