Cleanup: clang-format
This commit is contained in:
parent
203d405299
commit
855f7fee63
|
@ -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));
|
||||
|
|
|
@ -1923,8 +1923,8 @@ static int multires_subdivide_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
const eMultiresSubdivideModeType subdivide_mode = (eMultiresSubdivideModeType)(RNA_enum_get(
|
||||
op->ptr, "mode"));
|
||||
const eMultiresSubdivideModeType subdivide_mode = (eMultiresSubdivideModeType)(
|
||||
RNA_enum_get(op->ptr, "mode"));
|
||||
multiresModifier_subdivide(object, mmd, subdivide_mode);
|
||||
|
||||
ED_object_iter_other(
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
extern "C" char datatoc_gpu_shader_colorspace_lib_glsl[];
|
||||
|
||||
|
||||
using namespace blender;
|
||||
using namespace blender::gpu;
|
||||
|
||||
|
|
Loading…
Reference in New Issue