public class SunUpdater extends java.lang.Object implements ActiveObject
Modifier and Type | Field and Description |
---|---|
GlobeController |
viewC |
Constructor and Description |
---|
SunUpdater(Shader inShader,
Shader inGroundShader,
Atmosphere inAtmosphere,
GlobeController viewC) |
Modifier and Type | Method and Description |
---|---|
void |
activeUpdate()
Called right before the render on the render thread
|
boolean |
hasChanges()
Check if we've got changes to run.
|
void |
setLockToCamera(boolean newVal) |
void |
setSunPosition(Point3d inSunPos) |
public GlobeController viewC
public SunUpdater(Shader inShader, Shader inGroundShader, Atmosphere inAtmosphere, GlobeController viewC)
public void setSunPosition(Point3d inSunPos)
public void setLockToCamera(boolean newVal)
public boolean hasChanges()
ActiveObject
hasChanges
in interface ActiveObject
public void activeUpdate()
ActiveObject
activeUpdate
in interface ActiveObject