diff options
author | sanine-a <sanine.not@pm.me> | 2020-10-18 12:21:38 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-10-18 12:21:38 -0500 |
commit | 2d046ffd16d8ff3a06f92ca438ca6b2d6842ce6a (patch) | |
tree | 86681f5a826c92958bb8f2d0528e095ecdff4662 /include/light.h | |
parent | 225167461d754b476b4fcc7726c492cc972ca654 (diff) |
add LICENSE.md
Diffstat (limited to 'include/light.h')
-rw-r--r-- | include/light.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/include/light.h b/include/light.h deleted file mode 100644 index 93fcfd1..0000000 --- a/include/light.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef HONEY_LIGHT_H -#define HONEY_LIGHT_H - -#include "common.h" - -#define HONEY_MAX_LIGHT_NAME_LENGTH 64 - -typedef struct { - vec3 position; - vec3 color; - - float constant; - float linear; - float quadratic; -} honey_point_light; - -/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -typedef struct { - vec3 direction; - vec3 color; -} honey_directional_light; - -/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -void honey_point_light_new(honey_point_light* light, - float x, float y, float z, - float r, float g, float b, - float constant, - float linear, - float quadratic); - -#endif |