addColors method

Color addColors(
  1. Color color1,
  2. Color color2
)

Implementation

Color addColors(Color color1, Color color2) {
  r = color1.r + color2.r;
  g = color1.g + color2.g;
  b = color1.b + color2.b;

  return this;
}