| # | Line 467 | Line 467 | getRayBundle(FVECT *orig_dir = NULL) | |
|---|---|---|
| 467 | error(INTERNAL, "unsupported format in getRayBundle()"); | |
| 468 | return false; | |
| 469 | } | |
| 470 | – | n2go = myRCmanager.accum; // normalize directions |
| 471 | – | while (n2go-- > 0) { |
| 472 | – | orig_dir -= 2; |
| 473 | – | normalize(orig_dir[1]); |
| 474 | – | } |
| 470 | return true; | |
| 471 | } | |
| 472 | ||
| # | Line 569 | Line 564 | quit( | |
| 564 | int code | |
| 565 | ) | |
| 566 | { | |
| 567 | < | myRCmanager.FlushQueue(); // leave nothing in queue |
| 567 | > | if (!code) |
| 568 | > | myRCmanager.ClearModifiers(); |
| 569 | ||
| 570 | exit(code); | |
| 571 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |