Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/geom/geom_motion_triangle_shader.h
| Show All 28 Lines | |||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* Setup of motion triangle specific parts of ShaderData, moved into this one | /* Setup of motion triangle specific parts of ShaderData, moved into this one | ||||
| * function to more easily share computation of interpolated positions and | * function to more easily share computation of interpolated positions and | ||||
| * normals */ | * normals */ | ||||
| /* return 3 triangle vertex normals */ | /* return 3 triangle vertex normals */ | ||||
| ccl_device_noinline void motion_triangle_shader_setup(ccl_global const KernelGlobals *kg, | ccl_device_noinline void motion_triangle_shader_setup(KernelGlobals kg, | ||||
| ccl_private ShaderData *sd, | ccl_private ShaderData *sd, | ||||
| const float3 P, | const float3 P, | ||||
| const float3 D, | const float3 D, | ||||
| const float ray_t, | const float ray_t, | ||||
| const int isect_object, | const int isect_object, | ||||
| const int isect_prim, | const int isect_prim, | ||||
| bool is_local) | bool is_local) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines | |||||