mirror of
https://github.com/orange-cpp/omath.git
synced 2026-08-07 21:42:05 +00:00
17 lines
342 B
C++
17 lines
342 B
C++
#pragma once
|
|
#include "omath/utility/color.hpp"
|
|
|
|
namespace omath::hud
|
|
{
|
|
struct Gradient
|
|
{
|
|
Color top_left;
|
|
Color top_right;
|
|
Color bottom_right;
|
|
Color bottom_left;
|
|
bool animated = false;
|
|
float animation_speed = 4.f;
|
|
float animation_spread = 0.7f;
|
|
};
|
|
} // namespace omath::hud
|