diff --git a/coord.h b/coord.h index 0bd822d..53b8125 100644 --- a/coord.h +++ b/coord.h @@ -8,4 +8,10 @@ struct Coord { uint32_t y; }; +struct Coord3d { + uint32_t r; + uint32_t g; + uint32_t b; +}; + std::ostream& operator<<(std::ostream& os, const Coord& coord); diff --git a/lut.h b/lut.h index c2c37ba..d576c09 100644 --- a/lut.h +++ b/lut.h @@ -1,12 +1,7 @@ #pragma once #include "color.h" - -struct Coord3d { - uint32_t r; - uint32_t g; - uint32_t b; -}; +#include "coord.h" template class Lut3d : public std::array, G>, R> {