Skip to content

Commit

Permalink
fix: improvement to blocker test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Nov 17, 2024
1 parent f7ec9ee commit b750de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rt/srcobstr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef lint
static const char RCSid[] = "$Id: srcobstr.c,v 2.20 2024/04/05 01:10:26 greg Exp $";
static const char RCSid[] = "$Id: srcobstr.c,v 2.21 2024/11/17 19:36:09 greg Exp $";
#endif
/*
* Source occlusion caching routines
Expand Down Expand Up @@ -51,7 +51,7 @@ castshadow(int sn, FVECT rorg, FVECT rdir)
if (srcblocker(&rt1))
return(1);
/* move past failed blocker */
VSUM(rt.rorg, rt.rop, rt.rdir, FTINY);
VSUM(rt.rorg, rt.rop, rt.rdir, 10.*FTINY);
rayclear(&rt); /* & try again... */
}
return(0); /* found no blockers */
Expand Down

0 comments on commit b750de1

Please sign in to comment.