15 |
|
|
16 |
namespace Vob { |
namespace Vob { |
17 |
|
|
18 |
|
namespace CurrentFPS { |
19 |
|
// bool showFPS; |
20 |
|
double current_fps; |
21 |
|
double current_fps5; // average of last 5 frames |
22 |
|
int count; |
23 |
|
double last_time[NCounts]; |
24 |
|
} |
25 |
|
|
26 |
bool Renderer::sceneMoving; |
bool Renderer::sceneMoving; |
27 |
|
|
28 |
DBGVAR(dbg_renderer, "Renderer"); |
DBGVAR(dbg_renderer, "Renderer"); |
29 |
|
DBGVAR(dbg_fps, "Renderer.fps"); |
30 |
|
DBGVAR(dbg_fps_cout, "Renderer.fps_cout"); |
31 |
|
|
32 |
void Renderer::setStandardCoordinates(Vec wh) { |
void Renderer::setStandardCoordinates(Vec wh) { |
33 |
int w = (int)wh.x; |
int w = (int)wh.x; |