Lines Matching refs:make_float3
28 float3 normal_pos = make_float3(t == t0.x ? 1 : 0, t == t0.y ? 1 : 0, t == t0.z ? 1 : 0); in box_normal()
29 float3 normal_neg = make_float3(t == t1.x ? 1 : 0, t == t1.y ? 1 : 0, t == t1.z ? 1 : 0); in box_normal()
40 float3 t0 = (make_float3(-.5f) - ray_orig) / ray_dir; in __intersection__box_intersect()
41 float3 t1 = (make_float3(.5f) - ray_orig) / ray_dir; in __intersection__box_intersect()
50 float3 p = make_float3(0); in __intersection__box_intersect()
60 tangent_vector = make_float3(0, 1, 0); in __intersection__box_intersect()
63 tangent_vector = make_float3(1, 0, 0); in __intersection__box_intersect()
66 tangent_vector = make_float3(1, 0, 0); in __intersection__box_intersect()
84 tangent_vector = make_float3(0, 1, 0); in __intersection__box_intersect()
87 tangent_vector = make_float3(1, 0, 0); in __intersection__box_intersect()
90 tangent_vector = make_float3(1, 0, 0); in __intersection__box_intersect()