16 lines
238 B
C
16 lines
238 B
C
#ifndef LIGHT_H
|
|
#define LIGHT_H
|
|
|
|
#include <stdint.h>
|
|
#include "vector.h"
|
|
|
|
typedef struct {
|
|
vec3_t direction;
|
|
} light_t;
|
|
|
|
extern light_t light;
|
|
|
|
uint32_t light_apply_intensity(uint32_t original_color, float percentage_factor);
|
|
|
|
#endif
|