diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-26 06:09:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-26 06:21:21 +0300 |
commit | f1f89ca751d2782fee5d1cb982881409d478c6eb (patch) | |
tree | c678c4103476c527dae4d8a2e5083c68cf4f96d4 /intern/cycles/kernel/device | |
parent | 3ae85a0d8fc5abebf118c89ec4edff26ea012c52 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/kernel/device')
-rw-r--r-- | intern/cycles/kernel/device/optix/bvh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/device/optix/bvh.h b/intern/cycles/kernel/device/optix/bvh.h index a1621277ec7..0fb8156c27d 100644 --- a/intern/cycles/kernel/device/optix/bvh.h +++ b/intern/cycles/kernel/device/optix/bvh.h @@ -166,7 +166,7 @@ extern "C" __global__ void __anyhit__kernel_optix_shadow_all_hit() prim = segment.prim; # if OPTIX_ABI_VERSION < 55 - /* Filter out curve endcaps. */ + /* Filter out curve end-caps. */ if (u == 0.0f || u == 1.0f) { return optixIgnoreIntersection(); } @@ -290,7 +290,7 @@ extern "C" __global__ void __anyhit__kernel_optix_visibility_test() #ifdef __HAIR__ # if OPTIX_ABI_VERSION < 55 if (optixGetPrimitiveType() == OPTIX_PRIMITIVE_TYPE_ROUND_CUBIC_BSPLINE) { - /* Filter out curve endcaps. */ + /* Filter out curve end-caps. */ const float u = __uint_as_float(optixGetAttribute_0()); if (u == 0.0f || u == 1.0f) { return optixIgnoreIntersection(); |