diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-08-05 02:24:19 +0300 |
---|---|---|
committer | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-08-06 09:09:48 +0300 |
commit | 112a532f416f0474515065cd43cf382d7a8c5cd5 (patch) | |
tree | 7527c7ec11a703f6ed478c4f6d8336042e7989e2 /source/blender/draw | |
parent | aa0b05ef70e6d8222d0cf66b2dab338f39ac0a8b (diff) |
Cleanup: make format
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/overlay/shaders/edit_mesh_normal_vert.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/edit_mesh_normal_vert.glsl b/source/blender/draw/engines/overlay/shaders/edit_mesh_normal_vert.glsl index f649a5cb3ed..d370943db03 100644 --- a/source/blender/draw/engines/overlay/shaders/edit_mesh_normal_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/edit_mesh_normal_vert.glsl @@ -56,8 +56,7 @@ void main() if (gl_VertexID == 0) { if (isConstantScreenSizeNormals) { bool is_persp = (ProjectionMatrix[3][3] == 0.0); - if (is_persp) - { + if (is_persp) { float dist_fac = length(cameraPos - world_pos); float cos_fac = dot(cameraForward, cameraVec(world_pos)); world_pos += n * normalScreenSize * dist_fac * cos_fac * pixelFac * sizePixel; |