From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: ClangFormat: apply to source, most of intern Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat --- .../gpu/shaders/gpu_shader_3D_groundline_geom.glsl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl') diff --git a/source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl b/source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl index 29bdd03f7e3..03bee1b4e06 100644 --- a/source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl +++ b/source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl @@ -7,19 +7,19 @@ layout(line_strip, max_vertices = 2) out; void main() { - vec3 vert = gl_in[0].gl_Position.xyz; + vec3 vert = gl_in[0].gl_Position.xyz; - gl_Position = ViewProjectionMatrix * vec4(vert.xyz, 1.0); + gl_Position = ViewProjectionMatrix * vec4(vert.xyz, 1.0); #ifdef USE_WORLD_CLIP_PLANES - world_clip_planes_set_clip_distance(gl_in[0].gl_ClipDistance); + world_clip_planes_set_clip_distance(gl_in[0].gl_ClipDistance); #endif - EmitVertex(); + EmitVertex(); - gl_Position = ViewProjectionMatrix * vec4(vert.xy, 0.0, 1.0); + gl_Position = ViewProjectionMatrix * vec4(vert.xy, 0.0, 1.0); #ifdef USE_WORLD_CLIP_PLANES - world_clip_planes_calc_clip_distance(vec3(vert.xy, 0.0)); + world_clip_planes_calc_clip_distance(vec3(vert.xy, 0.0)); #endif - EmitVertex(); + EmitVertex(); - EndPrimitive(); + EndPrimitive(); } -- cgit v1.2.3