| # | Line 55 | Line 55 | rayorigin( /* start new ray from old one */ | |
|---|---|---|
| 55 | copycolor(r->albedo, salbedo); | |
| 56 | r->gecc = seccg; | |
| 57 | r->slights = NULL; | |
| 58 | + | } else if (ro->rot >= FHUGE) { /* illegal continuation */ |
| 59 | + | memset(r, 0, sizeof(RAY)); |
| 60 | + | return(-1); |
| 61 | } else { /* spawned ray */ | |
| 62 | r->rlvl = ro->rlvl; | |
| 63 | if (rt & RAYREFL) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |