Fixed Color::toHsv(), Color::fromHsv(), Color::toHsl().

Added to Colors::fromString(): rgb(), rgba(), hsl(), hsla(), hsv(), hsva().

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2019-11-09 21:51:09 -03:00
parent 8917dfebf0
commit da74085a06
11 changed files with 385 additions and 240 deletions

View File

@@ -6,8 +6,7 @@
EE::Window::Window * win = NULL;
void mainLoop()
{
void mainLoop() {
// Clear the screen buffer
win->clear();
@@ -34,8 +33,7 @@ void mainLoop()
}
// EE_MAIN_FUNC is needed by some platforms to be able to find the real application main
EE_MAIN_FUNC int main (int argc, char * argv [])
{
EE_MAIN_FUNC int main (int argc, char * argv []) {
// Create a new window with vsync enabled
win = Engine::instance()->createWindow( WindowSettings( 960, 640, "eepp - Empty Window" ), ContextSettings( true ) );