MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / HSV

Method HSV

KBotExt/imgui/imgui.h:2485–2485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2483 // FIXME-OBSOLETE: May need to obsolete/cleanup those helpers.
2484 inline void SetHSV(float h, float s, float v, float a = 1.0f) { ImGui::ColorConvertHSVtoRGB(h, s, v, Value.x, Value.y, Value.z); Value.w = a; }
2485 static ImColor HSV(float h, float s, float v, float a = 1.0f) { float r, g, b; ImGui::ColorConvertHSVtoRGB(h, s, v, r, g, b); return ImColor(r, g, b, a); }
2486};
2487
2488//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

ImColorClass · 0.85

Tested by

no test coverage detected