diff options
author | rodri <rgl@antares-labs.eu> | 2024-08-17 12:45:25 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-08-17 12:45:25 +0000 |
commit | 7a07b2c636e42a95920ff5a4edfef4b9c3fbd729 (patch) | |
tree | 5f5eadffaf455f6110d57aee6f7b790bbddc8486 /med.c | |
parent | 4605adef59010fa2ed74b862e8169baf73680bf4 (diff) | |
download | 3dee-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |