Move Coord3d
This commit is contained in:
6
coord.h
6
coord.h
@@ -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
7
lut.h
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user