MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / fromRgb

Method fromRgb

src/Core/Graphics/Color.cpp:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 void Color::fromRgb(const double r, const double g, const double b, const double a)
289 {
290 this->r = r;
291 this->g = g;
292 this->b = b;
293 this->a = a;
294 }
295
296 void Color::fromHsv(int H, double S, double V)
297 {

Callers 3

ColorMethod · 0.95
LoadClassColorFunction · 0.80
loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected