mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Color values in love's APIs are now in the range of [0, 1] rather than [0, 255].
--HG-- branch : minor
This commit is contained in:
@@ -64,12 +64,12 @@ public:
|
||||
struct ColoredString
|
||||
{
|
||||
std::string str;
|
||||
Color color;
|
||||
Colorf color;
|
||||
};
|
||||
|
||||
struct IndexedColor
|
||||
{
|
||||
Color color;
|
||||
Colorf color;
|
||||
int index;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user