mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-08 20:09:36 +01:00
Added clamp() to color from Godot4.
This commit is contained in:
parent
eff5153375
commit
ffd29397f8
@ -85,6 +85,8 @@ struct _NO_DISCARD_CLASS_ Color {
|
||||
|
||||
bool is_equal_approx(const Color &p_color) const;
|
||||
|
||||
Color clamp(const Color &p_min = Color(0, 0, 0, 0), const Color &p_max = Color(1, 1, 1, 1)) const;
|
||||
|
||||
void invert();
|
||||
void contrast();
|
||||
Color inverted() const;
|
||||
|
Loading…
Reference in New Issue
Block a user