JNGL
Easy to use cross-platform 2D game library
|
Contains jngl::Rgba class. More...
Go to the source code of this file.
Classes | |
class | Rgba |
Object representing a RGBA color. More... | |
Namespaces | |
namespace | jngl |
JNGL's main namespace. | |
Functions | |
Rgba | interpolate (Rgba a, Rgba b, float t) |
Returns a color mix between a (t == 0) and b (t == 1) | |
jngl::Rgba | operator""_rgba (unsigned long long) |
Create a jngl::Rgba object from a literal. E.g. 0x00ff00_rgb for green. | |
Contains jngl::Rgba class.
Definition in file Rgba.hpp.