Made entity hierarchy more compact

This commit is contained in:
Simon Lübeß
2024-03-17 18:08:39 +01:00
parent 96609a6c31
commit 2dd826fc36
3 changed files with 15 additions and 3 deletions
@@ -78,6 +78,8 @@ namespace ImGui
return IsItemActive();
}*/
public static void PushStyleVar(StyleVar styleVar, float2 value) => PushStyleVar(styleVar, (Vec2)value);
// TODO: Color-functions
public static bool ColorEdit3(char* label, ref ColorRGB col, ColorEditFlags flags = (ColorEditFlags) 0) => ColorEdit3Impl(label, *(float[3]*)&col, flags);
public static bool ColorEdit3(char* label, ref ColorRGBA col, ColorEditFlags flags = (ColorEditFlags) 0) => ColorEdit3Impl(label, *(float[3]*)&col, flags);