Lines Matching refs:ctr
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()
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()
121 pnt.x = hit->x - tex->ctr.x; in image_plane_texture()
122 pnt.y = hit->y - tex->ctr.y; in image_plane_texture()
123 pnt.z = hit->z - tex->ctr.z; in image_plane_texture()
168 xh = hit->x - tex->ctr.x; in checker_texture()
171 yh = hit->y - tex->ctr.y; in checker_texture()
174 zh = hit->z - tex->ctr.z; in checker_texture()
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()
229 x = (hit->x - tex->ctr.x) * 1000; in wood_texture()
230 y = (hit->y - tex->ctr.y) * 1000; in wood_texture()
231 z = (hit->z - tex->ctr.z) * 1000; in wood_texture()
372 f = Noise((hit->x - tex->ctr.x), (hit->y - tex->ctr.y), (hit->z - tex->ctr.z)); in gnoise_texture()