changed constexpr nanosecs to const
This commit is contained in:
parent
6b302374a9
commit
f42c015919
4
main.cpp
4
main.cpp
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
const int WIDTH {700};
|
const int WIDTH {700};
|
||||||
const int HEIGHT {700};
|
const int HEIGHT {700};
|
||||||
constexpr double FPS {50.0};
|
const double FPS {50.0};
|
||||||
constexpr int nanosecs {static_cast<int>(round(1000000000.0 / FPS))};
|
const int nanosecs {static_cast<int>(round(1000000000.0 / FPS))};
|
||||||
|
|
||||||
sc::gui::Window* main_window {nullptr};
|
sc::gui::Window* main_window {nullptr};
|
||||||
sc::gui::Image* main_image {nullptr};
|
sc::gui::Image* main_image {nullptr};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user