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