diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-23 15:06:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-23 15:08:02 +0300 |
commit | b659d1a560410425b3454016eeead8dbae7a0898 (patch) | |
tree | d721758ee85e07db141e7fa731d74ce03f89f074 /intern/cycles/util | |
parent | d431b91995dafc1eb2560fbd4a2eec3b2a92204b (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_math_intersect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math_intersect.h b/intern/cycles/util/util_math_intersect.h index fa3a541eea9..fd0c9124345 100644 --- a/intern/cycles/util/util_math_intersect.h +++ b/intern/cycles/util/util_math_intersect.h @@ -40,7 +40,7 @@ ccl_device bool ray_sphere_intersect(float3 ray_P, /* Ray points away from sphere. */ return false; } - const float dsq = tsq - tp * tp; /* pythagoras */ + const float dsq = tsq - tp * tp; /* Pythagoras. */ if (dsq > radiussq) { /* Closest point on ray outside sphere. */ return false; |