Raw Input and some ImGuiExtension changes

This commit is contained in:
Simon Lübeß
2022-11-26 15:24:33 +01:00
parent 8f22cbb8bc
commit d47ac23e1b
9 changed files with 408 additions and 87 deletions
+9
View File
@@ -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)
{