JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Rgb.hpp File Reference

Contains jngl::Rgb class. More...

#include <cstdint>
Include dependency graph for Rgb.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Contains jngl::Rgb class.

Definition in file Rgb.hpp.