mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 05:19:36 +00:00
67d13fe190
* Arms_Hook OK * cleanup * decr * remove redundant include * missed some things * rename things Co-authored-by: dark-samus <mathmcclintic@gmail.com>
24 lines
317 B
C
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
|