diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-31 05:00:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-31 05:01:41 +0300 |
commit | 3d132ead502f792fc67117bad5d101c137f33fef (patch) | |
tree | c370628fc2a445faab64cc839d08f8ccf25a0a3a /intern | |
parent | 41ee5382f655fe2e76c0527e43b239e15478b310 (diff) |
Cleanup: spelling, trailing space for comment-blocks
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/light/light.h | 4 | ||||
-rw-r--r-- | intern/cycles/util/debug.h | 4 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowViewCocoa.h | 2 |
3 files changed, 5 insertions, 5 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; diff --git a/intern/cycles/util/debug.h b/intern/cycles/util/debug.h index 23a055cf52f..3565fdea17f 100644 --- a/intern/cycles/util/debug.h +++ b/intern/cycles/util/debug.h @@ -87,7 +87,7 @@ class DebugFlags { /* Reset flags to their defaults. */ void reset(); - /* Whether adaptive feature based runtime compile is enabled or not.*/ + /* Whether adaptive feature based runtime compile is enabled or not. */ bool adaptive_compile; }; @@ -110,7 +110,7 @@ class DebugFlags { /* Reset flags to their defaults. */ void reset(); - /* Whether adaptive feature based runtime compile is enabled or not.*/ + /* Whether adaptive feature based runtime compile is enabled or not. */ bool adaptive_compile; }; diff --git a/intern/ghost/intern/GHOST_WindowViewCocoa.h b/intern/ghost/intern/GHOST_WindowViewCocoa.h index 635c0052a3a..58c029620da 100644 --- a/intern/ghost/intern/GHOST_WindowViewCocoa.h +++ b/intern/ghost/intern/GHOST_WindowViewCocoa.h @@ -64,7 +64,7 @@ ime.event.target_end = -1; /* Register a function to be executed when Input Method is changed using - * 'Control + Space' or language-specific keys (such as 'Eisu / Kana' key for Japanese).*/ + * 'Control + Space' or language-specific keys (such as 'Eisu / Kana' key for Japanese). */ NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center addObserver:self selector:@selector(ImeDidChangeCallback:) |