Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-08-04 14:26:21 +0300
committerBastien Montagne <bastien@blender.org>2020-08-04 14:26:58 +0300
commit701a9d39175e0d3e5e2f776821f1251b8a7a5f78 (patch)
treebf0dfad98713594cdcf3ac6e25c178c8e4ac9b7d /intern/cycles
parent164f40c50a05ad4e1696cdd0f55de96c210a125a (diff)
Cleanup: typos & co in UI messages (and some other places).
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/util/util_math_fast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math_fast.h b/intern/cycles/util/util_math_fast.h
index e979bd9e0c0..4f92d2f10d3 100644
--- a/intern/cycles/util/util_math_fast.h
+++ b/intern/cycles/util/util_math_fast.h
@@ -87,7 +87,7 @@ ccl_device_inline int fast_rint(float x)
/* Single roundps instruction on SSE4.1+ (for gcc/clang at least). */
return float_to_int(rintf(x));
#else
- /* emulate rounding by adding/substracting 0.5. */
+ /* emulate rounding by adding/subtracting 0.5. */
return float_to_int(x + copysignf(0.5f, x));
#endif
}