summaryrefslogtreecommitdiff
path: root/med.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-08-17 12:45:25 +0000
committerrodri <rgl@antares-labs.eu>2024-08-17 12:45:25 +0000
commit7a07b2c636e42a95920ff5a4edfef4b9c3fbd729 (patch)
tree5f5eadffaf455f6110d57aee6f7b790bbddc8486 /med.c
parent4605adef59010fa2ed74b862e8169baf73680bf4 (diff)
download3dee-7a07b2c636e42a95920ff5a4edfef4b9c3fbd729.tar.gz
3dee-7a07b2c636e42a95920ff5a4edfef4b9c3fbd729.tar.bz2
3dee-7a07b2c636e42a95920ff5a4edfef4b9c3fbd729.zip
use the new light types constants.
Diffstat (limited to 'med.c')
-rw-r--r--med.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/med.c b/med.c
index 4ba9d30..25dccec 100644
--- a/med.c
+++ b/med.c
@@ -802,7 +802,7 @@ threadmain(int argc, char *argv[])
placecamera(cam, scene, camcfg.p, camcfg.lookat, camcfg.up);
light.p = Pt3(0,100,100,1);
light.c = Pt3(1,1,1,1);
- light.type = LIGHT_POINT;
+ light.type = LightPoint;
tsampler = neartexsampler;
kctl = emalloc(sizeof *kctl);