# | Line 66 | Line 66 | register RAY *r; | |
---|---|---|
66 | if (m->oargs.nfargs != (m->otype==MAT_DIELECTRIC ? 5 : 8)) | |
67 | objerror(m, USER, "bad arguments"); | |
68 | ||
69 | + | r->rt = r->rot; /* just use ray length */ |
70 | + | |
71 | raytexture(r, m->omod); /* get modifiers */ | |
72 | ||
73 | cos1 = raynormal(dnorm, r); /* cosine of theta1 */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |