Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-15 18:32:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-15 18:32:18 +0300
commitd546269de89034ce8004771ee03d5f42eaa5da45 (patch)
tree6da09b5bc1e23260e1d3d11d111714140be04329 /source/blender/gpu/shaders
parent9d52ff1ced73e737e5e395731a8cc1d8afa16acd (diff)
Cleanup: Double semicolon at the end of line
Diffstat (limited to 'source/blender/gpu/shaders')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl
index e729034f617..ae6ea7eefa2 100644
--- a/source/blender/gpu/shaders/gpu_shader_material.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material.glsl
@@ -3060,7 +3060,7 @@ void world_normals_get(out vec3 N)
/* Shade as a cylinder. */
cos_theta = hairThickTime / hairThickness;
}
- float sin_theta = sqrt(max(0.0, 1.0f - cos_theta*cos_theta));;
+ float sin_theta = sqrt(max(0.0, 1.0f - cos_theta*cos_theta));
N = normalize(worldNormal * sin_theta + B * cos_theta);
#else
N = gl_FrontFacing ? worldNormal : -worldNormal;