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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-01 14:20:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-01 14:20:53 +0300
commit1bdceb813ccb9690e5746731038e7f0ce92ed134 (patch)
treeb1af43f7f4956789bfe2f871ea92e4d079dfc56c /intern
parent2a5c0c34914cc89efb8816edba2cf62a6299a6c1 (diff)
Cleanup: spelling
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_light_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_light_common.h b/intern/cycles/kernel/kernel_light_common.h
index 1f4aecc0b68..c21c517a353 100644
--- a/intern/cycles/kernel/kernel_light_common.h
+++ b/intern/cycles/kernel/kernel_light_common.h
@@ -151,8 +151,8 @@ ccl_device float light_spread_attenuation(const float3 D,
const float tan_spread,
const float normalize_spread)
{
- /* Model a softbox grid, computing the ratio of light not hidden by the
- * slats of the grid at a given angle. (seee D10594). */
+ /* Model a soft-box grid, computing the ratio of light not hidden by the
+ * slats of the grid at a given angle. (see D10594). */
const float cos_a = -dot(D, lightNg);
const float sin_a = safe_sqrtf(1.0f - sqr(cos_a));
const float tan_a = sin_a / cos_a;