1
0
Fork 0
2018-soft-3d-renderer/include/color.h

26 lines
259 B
C++

#ifndef COLOR_H
#include <cstdint>
struct ColorU32
{
union
{
struct
{
uint8_t b;
uint8_t g;
uint8_t r;
uint8_t a;
};
uint32_t u32;
};
};
#define COLOR_H
#endif