From 95fd1630740dfee9399e5462a26ba70e51d89787 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Aug 2022 15:43:17 +1000 Subject: Cleanup: spelling in comments --- intern/cycles/bvh/params.h | 4 ++-- intern/cycles/kernel/integrator/shade_surface.h | 2 +- intern/cycles/scene/image_oiio.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'intern') diff --git a/intern/cycles/bvh/params.h b/intern/cycles/bvh/params.h index 648350d03b0..8f4739de067 100644 --- a/intern/cycles/bvh/params.h +++ b/intern/cycles/bvh/params.h @@ -39,10 +39,10 @@ enum BVHType { BVH_NUM_TYPES, }; -/* Names bitflag type to denote which BVH layouts are supported by +/* Names bit-flag type to denote which BVH layouts are supported by * particular area. * - * Bitflags are the BVH_LAYOUT_* values. + * Bit-flags are the BVH_LAYOUT_* values. */ typedef int BVHLayoutMask; diff --git a/intern/cycles/kernel/integrator/shade_surface.h b/intern/cycles/kernel/integrator/shade_surface.h index 19b8946e865..59c59e9224a 100644 --- a/intern/cycles/kernel/integrator/shade_surface.h +++ b/intern/cycles/kernel/integrator/shade_surface.h @@ -44,7 +44,7 @@ ccl_device_forceinline float3 integrate_surface_ray_offset(KernelGlobals kg, /* Self intersection tests already account for the case where a ray hits the * same primitive. However precision issues can still cause neighboring * triangles to be hit. Here we test if the ray-triangle intersection with - * the same primitive would miss, implying that a neighbouring triangle would + * the same primitive would miss, implying that a neighboring triangle would * be hit instead. * * This relies on triangle intersection to be watertight, and the object inverse diff --git a/intern/cycles/scene/image_oiio.cpp b/intern/cycles/scene/image_oiio.cpp index 500e53ed763..67d73759dd9 100644 --- a/intern/cycles/scene/image_oiio.cpp +++ b/intern/cycles/scene/image_oiio.cpp @@ -184,8 +184,8 @@ bool OIIOImageLoader::load_pixels(const ImageMetaData &metadata, ImageSpec config = ImageSpec(); /* Load without automatic OIIO alpha conversion, we do it ourselves. OIIO - * will associate alpha in the the 8bit buffer for PNGs, which leads to too - * much precision loss when we load it as half float to do a colorspace + * will associate alpha in the 8bit buffer for PNGs, which leads to too + * much precision loss when we load it as half float to do a color-space * transform. */ config.attribute("oiio:UnassociatedAlpha", 1); -- cgit v1.2.3