diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-29 13:13:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-29 13:13:24 +0300 |
commit | 855f7fee63c4bc57d5e154ced0e7e51bf315ea32 (patch) | |
tree | 8dadbf17ae51e2237972d8bea654350a4421b529 /intern/cycles/kernel | |
parent | 203d4052998479439a9d92d5e163b634a45d08bc (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/geom/geom_triangle.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/kernel/geom/geom_triangle.h b/intern/cycles/kernel/geom/geom_triangle.h index 0a9460aa166..208338a934b 100644 --- a/intern/cycles/kernel/geom/geom_triangle.h +++ b/intern/cycles/kernel/geom/geom_triangle.h @@ -77,7 +77,10 @@ ccl_device_inline void triangle_vertices(KernelGlobals *kg, int prim, float3 P[3 /* Triangle vertex locations and vertex normals */ -ccl_device_inline void triangle_vertices_and_normals(KernelGlobals *kg, int prim, float3 P[3], float3 N[3]) +ccl_device_inline void triangle_vertices_and_normals(KernelGlobals *kg, + int prim, + float3 P[3], + float3 N[3]) { const uint4 tri_vindex = kernel_tex_fetch(__tri_vindex, prim); P[0] = float4_to_float3(kernel_tex_fetch(__prim_tri_verts, tri_vindex.w + 0)); |