From 25266caa454324b3394c09920913fb419b5abf2b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 20 Nov 2020 11:39:03 +1100 Subject: Cleanup: spelling --- intern/cycles/kernel/kernel_light_background.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/kernel/kernel_light_background.h') diff --git a/intern/cycles/kernel/kernel_light_background.h b/intern/cycles/kernel/kernel_light_background.h index 5fa25069fcd..2a685c0adfa 100644 --- a/intern/cycles/kernel/kernel_light_background.h +++ b/intern/cycles/kernel/kernel_light_background.h @@ -31,7 +31,7 @@ ccl_device float3 background_map_sample(KernelGlobals *kg, float randu, float ra int res_y = kernel_data.background.map_res_y; int cdf_width = res_x + 1; - /* this is basically std::lower_bound as used by pbrt */ + /* This is basically std::lower_bound as used by PBRT. */ int first = 0; int count = res_y; @@ -58,7 +58,7 @@ ccl_device float3 background_map_sample(KernelGlobals *kg, float randu, float ra float dv = inverse_lerp(cdf_v.y, cdf_next_v.y, randv); float v = (index_v + dv) / res_y; - /* this is basically std::lower_bound as used by pbrt */ + /* This is basically std::lower_bound as used by PBRT. */ first = 0; count = res_x; while (count > 0) { -- cgit v1.2.3