operator + method

OkLch operator +(
  1. OkLch other
)

Implementation

OkLch operator +(OkLch other) {
  return OkLch(
    l + other.l,
    c + other.c,
    (h + other.h) % (2 * pi),
  );
}