JNGL
Easy to use cross-platform 2D game library
|
Contains jngl::Rgb class. More...
#include <cstdint>
Go to the source code of this file.
Classes | |
class | Rgb |
Object representing a RGB color, new version of jngl::Color (which will be deprecated in the future) More... | |
Namespaces | |
namespace | jngl |
JNGL's main namespace. | |
Functions | |
Rgb | interpolate (Rgb a, Rgb b, float t) |
Returns a color mix between a (t == 0) and b (t == 1) | |
jngl::Rgb | operator""_rgb (unsigned long long) |
Create a jngl::Rgb object from a literal. E.g. 0x00ff00_rgb for green. | |