| # | Line 263 | Line 263 | register RAY *r; | |
|---|---|---|
| 263 | /* diffuse reflection */ | |
| 264 | nd.rdiff = 1.0 - nd.trans - nd.rspec; | |
| 265 | ||
| 266 | < | if (r->ro != NULL && (r->ro->otype == OBJ_FACE || |
| 267 | < | r->ro->otype == OBJ_RING)) |
| 266 | > | if (r->ro != NULL && isflat(r->ro->otype)) |
| 267 | nd.specfl |= SP_FLAT; | |
| 268 | ||
| 269 | getacoords(r, &nd); /* set up coordinates */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |