Modifier and Type | Method and Description |
---|---|
void |
computeFrameRate(double lastTime,
double currentTime)
Compute the frame rate depending of the game loop speed.
|
void |
render()
Render updated frame.
|
void render()
void computeFrameRate(double lastTime, double currentTime)
lastTime
- The last time value before game loop in nano.currentTime
- The current time after game loop in nano.Copyright © 2017 Byron 3D Games Studio. All rights reserved.