MCPcopy Create free account
hub / github.com/VCVRack/Rack / plus

Function plus

src/color.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29NVGcolor plus(NVGcolor a, NVGcolor b) {
30 for (int i = 0; i < 3; i++)
31 a.rgba[i] += b.rgba[i];
32 return a;
33}
34
35NVGcolor mult(NVGcolor a, NVGcolor b) {
36 for (int i = 0; i < 3; i++)

Callers 2

screenFunction · 0.85
colorPlusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected