--- ray/src/rt/source.h 2020/04/06 21:09:07 2.21 +++ ray/src/rt/source.h 2022/08/04 22:43:46 2.23 @@ -1,4 +1,4 @@ -/* RCSid $Id: source.h,v 2.21 2020/04/06 21:09:07 greg Exp $ */ +/* RCSid $Id: source.h,v 2.23 2022/08/04 22:43:46 greg Exp $ */ /* * source.h - header file for ray tracing sources. * @@ -20,7 +20,7 @@ extern "C" { #define SHADCACHE 20 /* shadow cache resolution */ #endif #ifndef MINSHADCNT -#define MINSHADCNT 4 /* test all sources if this few */ +#define MINSHADCNT 2 /* test at least this many shadows */ #endif #define SDISTANT 01 /* source distant flag */ @@ -72,7 +72,7 @@ typedef struct { } sa; /* source aiming information */ unsigned long ntests, nhits; /* shadow tests and hits */ -#ifdef SHADCACHE +#if SHADCACHE OBSCACHE *obscache; /* obstructor cache */ #endif int sflags; /* source flags */