diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
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
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_3D_groundline_geom.glsl | 16 |
1 files changed, 8 insertions, 8 deletions
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(); } |