VS support

master
Vectozavr 2021-10-23 21:15:24 +07:00
parent e6f950032a
commit 6fba295139
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ namespace Consts {
const std::string PROJECT_NAME = "engine"; const std::string PROJECT_NAME = "engine";
const bool USE_LOG_FILE = true; const bool USE_LOG_FILE = true;
const bool USE_OPEN_GL = true; const bool USE_OPEN_GL = true;
const bool SHOW_COORDINATES = true;
const double PI = 3.14159265358979323846264338327950288; const double PI = 3.14159265358979323846264338327950288;
const double EPS = 0.000001; const double EPS = 0.000001;

View File

@ -18,8 +18,8 @@ private:
std::string _name; std::string _name;
double _triPerSec = 0; double _triPerSec = 0;
bool _debugText = true;
bool _updateWorld = true; bool _updateWorld = true;
bool _debugText = Consts::SHOW_COORDINATES;
bool _useOpenGL = Consts::USE_OPEN_GL; bool _useOpenGL = Consts::USE_OPEN_GL;
void printDebugText() const; void printDebugText() const;