MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / HsvColor

Method HsvColor

Common/util/color.hpp:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 double H, S, V, A;
23
24 constexpr HsvColor() noexcept : H(0), S(0), V(0), A(0) { }
25 constexpr HsvColor(double h, double s, double v, double a = 1.0) noexcept : H(h), S(s), V(v), A(a) { }
26 constexpr HsvColor(const wf::Numerics::float4 &col) noexcept : H(col.x), S(col.y), V(col.z), A(col.w) { }
27

Calls

no outgoing calls

Tested by

no test coverage detected