Lines Matching refs:rh
66 vector rh; in image_cyl_texture() local
69 rh.x = hit->x - tex->ctr.x; in image_cyl_texture()
70 rh.z = hit->y - tex->ctr.y; in image_cyl_texture()
71 rh.y = hit->z - tex->ctr.z; in image_cyl_texture()
73 xyztocyl(rh, 1.0, &u, &v); in image_cyl_texture()
92 vector rh; in image_sphere_texture() local
95 rh.x = hit->x - tex->ctr.x; in image_sphere_texture()
96 rh.y = hit->y - tex->ctr.y; in image_sphere_texture()
97 rh.z = hit->z - tex->ctr.z; in image_sphere_texture()
99 xyztospr(rh, &u, &v); in image_sphere_texture()
194 vector rh; in cyl_checker_texture() local
198 rh.x = hit->x - tex->ctr.x; in cyl_checker_texture()
199 rh.y = hit->y - tex->ctr.y; in cyl_checker_texture()
200 rh.z = hit->z - tex->ctr.z; in cyl_checker_texture()
202 xyztocyl(rh, 1.0, &u, &v); in cyl_checker_texture()