20 lines
297 B
C
20 lines
297 B
C
#ifndef SHADER_H
|
|
#define SHADER_H
|
|
|
|
#include "color_utils.h"
|
|
|
|
typedef enum LightMode {
|
|
LIGHT_MODE_RAINBOW,
|
|
LIGHT_MODE_WHITE,
|
|
} LightMode;
|
|
|
|
typedef struct {
|
|
int index;
|
|
double time;
|
|
LightMode mode;
|
|
} Status;
|
|
|
|
void init_status(Status* status);
|
|
Color shader(Status* status);
|
|
|
|
#endif |