From 6d2b486e431dae57536a5a7d9b64c62144754363 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 6 Oct 2021 09:28:00 +1100 Subject: Cleanup: spelling in comments --- intern/cycles/bvh/bvh_embree.cpp | 4 ++-- intern/cycles/render/session.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'intern') diff --git a/intern/cycles/bvh/bvh_embree.cpp b/intern/cycles/bvh/bvh_embree.cpp index 20430cb164c..9250af419cb 100644 --- a/intern/cycles/bvh/bvh_embree.cpp +++ b/intern/cycles/bvh/bvh_embree.cpp @@ -249,7 +249,7 @@ static void rtc_filter_func_thick_curve(const RTCFilterFunctionNArguments *args) const RTCRay *ray = (RTCRay *)args->ray; RTCHit *hit = (RTCHit *)args->hit; - /* Always ignore backfacing intersections. */ + /* Always ignore back-facing intersections. */ if (dot(make_float3(ray->dir_x, ray->dir_y, ray->dir_z), make_float3(hit->Ng_x, hit->Ng_y, hit->Ng_z)) > 0.0f) { *args->valid = 0; @@ -262,7 +262,7 @@ static void rtc_filter_occluded_func_thick_curve(const RTCFilterFunctionNArgumen const RTCRay *ray = (RTCRay *)args->ray; RTCHit *hit = (RTCHit *)args->hit; - /* Always ignore backfacing intersections. */ + /* Always ignore back-facing intersections. */ if (dot(make_float3(ray->dir_x, ray->dir_y, ray->dir_z), make_float3(hit->Ng_x, hit->Ng_y, hit->Ng_z)) > 0.0f) { *args->valid = 0; diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 8d2d950f661..a18c61599c2 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -157,7 +157,7 @@ void Session::run_main_render_loop() continue; } - /* Stop rendering if error happenned during scene update or other step of preparing scene + /* Stop rendering if error happened during scene update or other step of preparing scene * for render. */ if (device->have_error()) { progress.set_error(device->error_message()); @@ -179,7 +179,7 @@ void Session::run_main_render_loop() /* update status and timing */ update_status_time(); - /* Stop rendering if error happenned during path tracing. */ + /* Stop rendering if error happened during path tracing. */ if (device->have_error()) { progress.set_error(device->error_message()); break; -- cgit v1.2.3