1
Feature requests / Re: sf:Color float form
« on: September 03, 2012, 08:26:29 pm »
I understand that SMFL is not graphics engine. But of course, all of you knows, that videocard store all values in float. Not in unsigned chars
So even if you dont mess up with OpenGL 3+ deprecated stuff, users may store values in float.
Yes, convert is simple:
sf:Color ( (int)(MyFloatColor_R * 255.0f), ... );
But converting can be done in constructor, taking float values.
Nevermind. Its not important )
So even if you dont mess up with OpenGL 3+ deprecated stuff, users may store values in float.
Yes, convert is simple:
sf:Color ( (int)(MyFloatColor_R * 255.0f), ... );
But converting can be done in constructor, taking float values.
Nevermind. Its not important )