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:
authorCampbell Barton <campbell@blender.org>2022-03-31 05:00:10 +0300
committerCampbell Barton <campbell@blender.org>2022-03-31 05:01:41 +0300
commit3d132ead502f792fc67117bad5d101c137f33fef (patch)
treec370628fc2a445faab64cc839d08f8ccf25a0a3a /intern/cycles/kernel
parent41ee5382f655fe2e76c0527e43b239e15478b310 (diff)
Cleanup: spelling, trailing space for comment-blocks
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r--intern/cycles/kernel/light/light.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/light/light.h b/intern/cycles/kernel/light/light.h
index b08b4ebc068..359ffd1c607 100644
--- a/intern/cycles/kernel/light/light.h
+++ b/intern/cycles/kernel/light/light.h
@@ -438,7 +438,7 @@ ccl_device bool light_sample_from_intersection(KernelGlobals kg,
const float3 dir = make_float3(klight->spot.dir[0], klight->spot.dir[1], klight->spot.dir[2]);
/* the normal of the oriented disk */
const float3 lightN = normalize(ray_P - center);
- /* we set the light normal to the outgoing direction to support texturing*/
+ /* We set the light normal to the outgoing direction to support texturing. */
ls->Ng = -ls->D;
float invarea = klight->spot.invarea;
@@ -467,7 +467,7 @@ ccl_device bool light_sample_from_intersection(KernelGlobals kg,
const float3 center = make_float3(klight->co[0], klight->co[1], klight->co[2]);
const float3 lighN = normalize(ray_P - center);
- /* we set the light normal to the outgoing direction to support texturing*/
+ /* We set the light normal to the outgoing direction to support texturing. */
ls->Ng = -ls->D;
float invarea = klight->spot.invarea;