fixed windows build

This commit is contained in:
Sarah Faey 2025-05-07 17:59:50 +02:00
parent 794fa5bba0
commit 5aff6f6326
13 changed files with 33 additions and 27 deletions

View file

@ -12,7 +12,7 @@ public:
bool DownPressed = false;
bool LeftPressed = false;
bool RightPressed = false;
const float c_NormalizedDiagonal = 1 / sqrt(2);
const float c_NormalizedDiagonal = (float)(1.0 / sqrt(2));
bool GetDirection(NormalizedDirection & ref_direction);
};