summaryrefslogtreecommitdiff
path: root/src/light.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-18 12:10:48 -0500
committersanine-a <sanine.not@pm.me>2020-10-18 12:10:48 -0500
commit225167461d754b476b4fcc7726c492cc972ca654 (patch)
treed0a8060fe28a94b6fb24c002aa9744706e496b18 /src/light.c
parent1bc1f216e5682cd7918240f37f3709b642e08e2b (diff)
clear out old files, add basic scripting
Diffstat (limited to 'src/light.c')
-rw-r--r--src/light.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/light.c b/src/light.c
deleted file mode 100644
index 08da8e6..0000000
--- a/src/light.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "../include/light.h"
-
-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) {
- light->position[0] = x;
- light->position[1] = y;
- light->position[2] = z;
-
- light->color[0] = r;
- light->color[1] = g;
- light->color[2] = b;
-
- light->constant = constant;
- light->linear = linear;
- light->quadratic = quadratic;
-}