diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-25 16:13:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-25 16:14:36 +0300 |
commit | fd5c185bebd5a418634b2a8846f0aeea86327b20 (patch) | |
tree | e2f93d793fe173dce0a07c3a7e4385ed6850279d /intern/cycles/kernel/geom | |
parent | baa0da3e69a1225cd18c075be5563c7d811b5347 (diff) |
Cleanup: spelling
Diffstat (limited to 'intern/cycles/kernel/geom')
-rw-r--r-- | intern/cycles/kernel/geom/geom_curve_intersect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/geom/geom_curve_intersect.h b/intern/cycles/kernel/geom/geom_curve_intersect.h index 86f7f246c6e..c04dbee52cc 100644 --- a/intern/cycles/kernel/geom/geom_curve_intersect.h +++ b/intern/cycles/kernel/geom/geom_curve_intersect.h @@ -20,7 +20,7 @@ CCL_NAMESPACE_BEGIN /* Curve primitive intersection functions. * * The code here was adapted from curve_intersector_sweep.h in Embree, to get - * an exact match betwee Embree CPU ray-tracing and our GPU ray-tracing. */ + * an exact match between Embree CPU ray-tracing and our GPU ray-tracing. */ #define CURVE_NUM_BEZIER_SUBDIVISIONS 3 #define CURVE_NUM_BEZIER_SUBDIVISIONS_UNSTABLE (CURVE_NUM_BEZIER_SUBDIVISIONS + 1) @@ -176,7 +176,7 @@ ccl_device bool curve_intersect_iterative(const float3 ray_dir, { const float length_ray_dir = len(ray_dir); - /* Error of curve evaluations is propertional to largest coordinate. */ + /* Error of curve evaluations is proportional to largest coordinate. */ const float4 box_min = min(min(curve[0], curve[1]), min(curve[2], curve[3])); const float4 box_max = max(min(curve[0], curve[1]), max(curve[2], curve[3])); const float4 box_abs = max(fabs(box_min), fabs(box_max)); |