diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
commit | 6d2b486e431dae57536a5a7d9b64c62144754363 (patch) | |
tree | c08b4fb3a5f33ee71615e38d1b77bd6820fd4e9c /intern | |
parent | 7b5835c793fbc5459ad64be4e8c7ceabd45cd668 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/bvh/bvh_embree.cpp | 4 | ||||
-rw-r--r-- | intern/cycles/render/session.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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; |