From 7a07b2c636e42a95920ff5a4edfef4b9c3fbd729 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 17 Aug 2024 12:45:25 +0000 Subject: use the new light types constants. --- med.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'med.c') 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); -- cgit v1.2.3