public interface Controller
| Modifier and Type | Method and Description |
|---|---|
void |
getMoonDirection(Vec3 dst)
Get moon direction
|
float |
getMoonPhase()
Get moon phase
|
void |
getSunDirection(Vec3 dst)
Get sun direction
|
void |
update(float simDeltaTime)
Update controller
|
void update(float simDeltaTime)
simDeltaTime - Simulation delta time (It's not the time since last frame, it's the delta simulation time, one
time the time since last frame has been multiplied by the time multiplier)void getSunDirection(Vec3 dst)
dst - Sun direction, the Earth-to-Sun directionvoid getMoonDirection(Vec3 dst)
dst - Moon direction, Earth-to-Moon directionfloat getMoonPhase()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com