|
Engine²
Open-source game engine written in C++.
|
Color utility functions for converting RGB values to normalized vectors. More...
#include <Color.hpp>
Static Public Member Functions | |
| static glm::vec3 | FromRGB (uint8_t r, uint8_t g, uint8_t b) |
| static glm::vec3 | FromHex (uint32_t hex) |
Color utility functions for converting RGB values to normalized vectors.
Provides helper functions to simplify color handling by converting standard 0-255 RGB values to normalized glm::vec3 values (0.0-1.0 range).
|
inlinestatic |
|
inlinestatic |