No iostream

This commit is contained in:
Learath 2019-04-26 15:08:50 +03:00
parent 65a17599e1
commit 54afd2c5af

View file

@ -2,7 +2,6 @@
#ifndef BASE_COLOR_H
#define BASE_COLOR_H
#include <iostream>
#include "math.h"
#include "vmath.h"
@ -129,9 +128,6 @@ inline ColorHSLA color_cast(const ColorRGBA &rgb)
float l = 0.5f * (Max + Min);
float s = (Max != 0.0f && Min != 1.0f) ? (c/(1 - (absolute(2 * l - 1)))) : 0;
std::cout << "H: " << h << " S: " << s << " L: " << l << " C: " << c << std::endl;
return ColorHSLA(h, s, l, rgb.a);
}