Lines Matching refs:specray
182 ray specray; in shade_reflection() local
191 specray.intstruct = incident->intstruct; /* what thread are we */ in shade_reflection()
192 specray.depth = incident->depth - 1; /* go up a level in recursion depth */ in shade_reflection()
193 specray.flags = RT_RAY_REGULAR; /* infinite ray, to start with */ in shade_reflection()
194 specray.serial = incident->serial + 1; /* next serial number */ in shade_reflection()
195 specray.mbox = incident->mbox; in shade_reflection()
196 specray.o = *hit; in shade_reflection()
197 specray.d = R; /* reflect incident ray about normal */ in shade_reflection()
198 specray.o = Raypnt(&specray, EPSILON); /* avoid numerical precision bugs */ in shade_reflection()
199 specray.maxdist = FHUGE; /* take any intersection */ in shade_reflection()
200 specray.scene = incident->scene; /* global scenedef info */ in shade_reflection()
201 col = trace(&specray); /* trace specular reflection ray */ in shade_reflection()
203 incident->serial = specray.serial; /* update the serial number */ in shade_reflection()