diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-06 04:59:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-06 04:59:03 +0300 |
commit | 0ddec5094463596d14c43a855a77f5578064a5cf (patch) | |
tree | 4a8321dec82536c972d5e98f6b90169ab5d8e8b1 /intern/cycles/util | |
parent | 90f8f5cb06efc3255257b1fcb0811dfab76cc146 (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_math.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h index 40c5ebbab67..dde0d31f467 100644 --- a/intern/cycles/util/util_math.h +++ b/intern/cycles/util/util_math.h @@ -654,7 +654,8 @@ ccl_device_inline float2 map_to_sphere(const float3 co) /* Compares two floats. * Returns true if their absolute difference is smaller than abs_diff (for numbers near zero) * or their relative difference is less than ulp_diff ULPs. - * Based on https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ + * Based on + * https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ */ ccl_device_inline float compare_floats(float a, float b, float abs_diff, int ulp_diff) |