| 99 |
|
RadSimulManager::Cleanup(bool everything) |
| 100 |
|
{ |
| 101 |
|
if (!ray_pnprocs) |
| 102 |
– |
ray_pdone(everything); |
| 103 |
– |
else |
| 102 |
|
ray_done(everything); |
| 103 |
+ |
else |
| 104 |
+ |
ray_pdone(everything); |
| 105 |
|
return 0; |
| 106 |
|
} |
| 107 |
|
|
| 237 |
|
res.revf = raycast; |
| 238 |
|
double d = normalize(res.rdir); |
| 239 |
|
bool sendRes = (cookedCall != NULL); |
| 240 |
< |
if (d > 0) { // direction vector is valid? |
| 240 |
> |
if (d > .0) { // direction vector is valid? |
| 241 |
|
if (curFlags & RTlimDist) |
| 242 |
|
res.rmax = d; |
| 243 |
|
if (((curFlags&RTdoFIFO) != 0) & (ray_pnprocs > 0)) { |