diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-02 08:22:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-02 08:22:54 +0300 |
commit | 1cf45fe10f7f99905343012798be6dbac51c3384 (patch) | |
tree | 0ba221ab4a1d54efc10fac97d7e5755ae72186e0 /source/blender/gpu | |
parent | 836aeebf70776791866c8cc82a0ca2ad7ffb8e4d (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 675036b31c3..37089785e0e 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -452,8 +452,8 @@ static void compute_sss_translucence_kernel(const GPUSssKernelData *kd, /* Distance from surface. */ float d = kd->max_radius * ((float)i + 0.00001f) / ((float)resolution); - /* For each distance d we compute the radiance incoming from an hypothetic parallel plane. */ - /* Compute radius of the footprint on the hypothetic plane */ + /* For each distance d we compute the radiance incoming from an hypothetical parallel plane. */ + /* Compute radius of the footprint on the hypothetical plane. */ float r_fp = sqrtf(kd->max_radius * kd->max_radius - d * d); float r_step = r_fp / INTEGRAL_RESOLUTION; float area_accum = 0.0f; |