Searched refs:TO_FLOAT3 (Results 1 – 5 of 5) sorted by relevance
150 flatten_surface_closure_tree(sd, path_flag, mul->closure, TO_FLOAT3(mul->weight) * weight); in flatten_surface_closure_tree()165 weight = weight * TO_FLOAT3(comp->w); in flatten_surface_closure_tree()254 flatten_background_closure_tree(sd, mul->closure, weight * TO_FLOAT3(mul->weight)); in flatten_background_closure_tree()270 weight = weight * TO_FLOAT3(comp->w); in flatten_background_closure_tree()311 flatten_volume_closure_tree(sd, mul->closure, TO_FLOAT3(mul->weight) * weight); in flatten_volume_closure_tree()326 weight = weight * TO_FLOAT3(comp->w); in flatten_volume_closure_tree()375 sd->P = TO_FLOAT3(globals->P); in eval_displacement()
66 bsdf->colors[i] = TO_FLOAT3(colors[i]); in setup()
65 bsdf->colors[i] = TO_FLOAT3(colors[i]); in setup()
1456 ray.P = TO_FLOAT3(P); in trace()1457 ray.D = TO_FLOAT3(R); in trace()1474 ray.dP.dx = TO_FLOAT3(dPdx); in trace()1475 ray.dP.dy = TO_FLOAT3(dPdy); in trace()1476 ray.dD.dx = TO_FLOAT3(dRdx); in trace()1477 ray.dD.dy = TO_FLOAT3(dRdy); in trace()
110 #define TO_FLOAT3(v) make_float3(v[0], v[1], v[2]) macro