Move Coord3d

This commit is contained in:
Ian Gulliver
2017-08-07 06:19:12 +00:00
parent 100c44fe4e
commit e58083d989
2 changed files with 7 additions and 6 deletions

View File

@@ -8,4 +8,10 @@ struct Coord {
uint32_t y; uint32_t y;
}; };
struct Coord3d {
uint32_t r;
uint32_t g;
uint32_t b;
};
std::ostream& operator<<(std::ostream& os, const Coord& coord); std::ostream& operator<<(std::ostream& os, const Coord& coord);

7
lut.h
View File

@@ -1,12 +1,7 @@
#pragma once #pragma once
#include "color.h" #include "color.h"
#include "coord.h"
struct Coord3d {
uint32_t r;
uint32_t g;
uint32_t b;
};
template <uint32_t R, uint32_t G, uint32_t B> template <uint32_t R, uint32_t G, uint32_t B>
class Lut3d : public std::array<std::array<std::array<Color, B>, G>, R> { class Lut3d : public std::array<std::array<std::array<Color, B>, G>, R> {