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:
authorCampbell Barton <campbell@blender.org>2022-09-23 07:33:43 +0300
committerCampbell Barton <campbell@blender.org>2022-09-23 07:33:43 +0300
commitadd1b6ab3c91d408635b311127224dd4cc33f1ab (patch)
tree96b6220374202c9c8b6cab30a33188f50267121b /intern/mikktspace
parent3edd87f0099923742ed5a60e23ebfcdd539fb76e (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern/mikktspace')
-rw-r--r--intern/mikktspace/mikk_util.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/mikktspace/mikk_util.hh b/intern/mikktspace/mikk_util.hh
index 857ca95910b..4064d2af617 100644
--- a/intern/mikktspace/mikk_util.hh
+++ b/intern/mikktspace/mikk_util.hh
@@ -139,8 +139,8 @@ void radixsort(std::vector<T> &data, std::vector<T> &data2, KeyGetter getKey)
static void float_add_atomic(float *val, float add)
{
- /* Hacky, but atomic floats are only supported from C++20 onwards.
- * This works in practise since std::atomic<uint32_t> is really just an uint32_t in memory,
+ /* Hacky, but atomic floats are only supported from C++20 onward.
+ * This works in practice since `std::atomic<uint32_t>` is really just an `uint32_t` in memory,
* so this cast lets us do a 32-bit CAS operation (which is used to build the atomic float
* operation) without needing any external libraries or compiler-specific builtins. */
std::atomic<uint32_t> *atomic_val = reinterpret_cast<std::atomic<uint32_t> *>(val);