1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-26 22:56:20 +00:00
oot/include/color.h
fig02 67d13fe190
Arms_Hook OK (#210)
* Arms_Hook OK

* cleanup

* decr

* remove redundant include

* missed some things

* rename things

Co-authored-by: dark-samus <mathmcclintic@gmail.com>
2020-06-17 15:44:22 -04:00

24 lines
317 B
C

#ifndef _COLOR_H_
#define _COLOR_H_
typedef struct {
u8 r, g, b;
} Color_RGB8;
typedef union {
struct {
u8 r, g, b, a;
};
u32 rgba;
} Color_RGBA8;
// Variant without u32 union
typedef struct {
u8 r, g, b, a;
} Color_RGBA8_n;
typedef struct {
f32 r, g, b, a;
} Color_RGBAf;
#endif