mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Raw Input and some ImGuiExtension changes
This commit is contained in:
@@ -185,6 +185,15 @@ namespace GlitchyEngine.Math
|
||||
A = a;
|
||||
}
|
||||
|
||||
/// Creates a new instance of ColorRGBA with the specified values.
|
||||
public this(uint8 r, uint8 g, uint8 b, uint8 a = 255)
|
||||
{
|
||||
R = r / 255f;
|
||||
G = g / 255f;
|
||||
B = b / 255f;
|
||||
A = a / 255f;
|
||||
}
|
||||
|
||||
/// Creates a new instance of ColorRGBA with the specified values.
|
||||
public this(ColorRGB color, float a = 1.0f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user