From d26bbdc6d99d03bfa4a7725e9212c145e41f1ac0 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 May 2020 19:52:12 +0200 Subject: [PATCH] Added std:: --- SDLU_Example/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SDLU_Example/main.cpp b/SDLU_Example/main.cpp index 6815c5d..a7217d6 100644 --- a/SDLU_Example/main.cpp +++ b/SDLU_Example/main.cpp @@ -1,5 +1,8 @@ #include "header.hpp" +#include +#include + int main(int argc, char** argv) { SDL_Init(SDL_INIT_VIDEO); @@ -43,7 +46,7 @@ int main(int argc, char** argv) } } - window.Clear(sdlu::Color::FromHSV(floor(t), 100, 100)); + window.Clear(sdlu::Color::FromHSV(std::floor(t), 100, 100)); window.Display(); t += 0.08;