| # | Line 106 | Line 106 | check_special(const char *s) | |
|---|---|---|
| 106 | ||
| 107 | // Append program line to header | |
| 108 | bool | |
| 109 | < | RadSimulManager::AddHeader(int ac, const char *av[]) |
| 109 | > | RadSimulManager::AddHeader(int ac, char *av[]) |
| 110 | { | |
| 111 | if ((ac <= 0) | !av) return false; | |
| 112 | int len = 0; | |
| # | Line 341 | Line 341 | RtraceSimulManager::EnqueueBundle(const FVECT orig_dir | |
| 341 | while (n-- > 0) { // queue each ray | |
| 342 | VCOPY(res.rorg, orig_direc[0]); | |
| 343 | VCOPY(res.rdir, orig_direc[1]); | |
| 344 | + | res.rmax = .0; |
| 345 | orig_direc += 2; | |
| 346 | rayorigin(&res, PRIMARY, NULL, NULL); | |
| 347 | res.rno = rID0 ? (lastRayID = rID0++) : ++lastRayID; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |