|
Mountain
1.0.0
Simple C++ 2D Game Framework
|
Defines multiple color structs. More...
#include <format>#include <sstream>#include <Maths/easing.hpp>#include <Maths/vector3.hpp>#include <Maths/vector4.hpp>#include "Mountain/core.hpp"#include "Mountain/utils/color.inl"
Include dependency graph for color.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Mountain::Color |
| The Color struct represents a color in RGBA color space. More... | |
| struct | Mountain::ColorHsva |
| The ColorHsva struct represents a color in HSVA color space. More... | |
Namespaces | |
| Mountain | |
| Contains all declarations of the Mountain Framework. | |
Functions | |
| constexpr Color | Mountain::operator+ (const Color &c1, const Color &c2) |
Adds 2 Color, caps at 1.f. More... | |
| constexpr Color | Mountain::operator* (const Color &c1, const Color &c2) |
| Multiplies 2 Color. More... | |
| constexpr Color | Mountain::operator* (Color color, float_t alphaFactor) |
| Multiplies the alpha component of a Color. More... | |
| constexpr bool_t | Mountain::operator== (const Color &c1, const Color &c2) |
| Compares 2 Color component-wise. More... | |
| constexpr bool_t | Mountain::operator!= (const Color &c1, const Color &c2) |
| Compares 2 Color component-wise. More... | |
| constexpr ColorHsva | Mountain::operator* (const ColorHsva &color, float_t alphaFactor) |
| Multiplies the alpha component of a ColorHsva. More... | |
| constexpr bool_t | Mountain::operator== (const ColorHsva &c1, const ColorHsva &c2) |
| Compares 2 ColorHsva component-wise. More... | |
| constexpr bool_t | Mountain::operator!= (const ColorHsva &c1, const ColorHsva &c2) |
| Compares 2 ColorHsva component-wise. More... | |
| Mountain::Color | Calc::Lerp (const Mountain::Color &value, const Mountain::Color &target, float_t time) |
| Mountain::Color | Calc::Lerp (const Mountain::Color &value, const Mountain::Color &target, float_t time, Easing::Easer easer) |
Defines multiple color structs.
Definition in file color.hpp.