Lines Matching refs:newray
176 Ray newray; local
179 newray.pos = *pos;
180 newray.depth = depth;
181 newray.sample = samp;
182 newray.time = time;
183 newray.media = (Medium *)NULL;
185 LightDirection(lp, pos, &newray.dir, &dist);
187 costheta = dotp(&newray.dir, norm);
190 cosalpha = dotp(&newray.dir, gnorm);
212 if (!LightIntens(lp, &newray, dist,
215 cosalpha = -dotp(reflect, &newray.dir);
220 if (!LightIntens(lp, &newray, dist,
224 cosalpha = dotp(reflect, &newray.dir);