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 <ideasman42@gmail.com>2021-06-28 08:44:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-28 08:46:08 +0300
commit1d8648b13a0667d338a4e60df004be7e41525968 (patch)
tree763c9e0b843850f6894101c8ad02a6bff34b5497 /intern/cycles
parent23c4854f45d7cafa1cfadf13556b9277d4666bd1 (diff)
Cleanup: repeated terms in code comments & error messages
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/bvh/bvh_node.h2
-rw-r--r--intern/cycles/util/util_math_fast.h2
-rw-r--r--intern/cycles/util/util_task.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/bvh/bvh_node.h b/intern/cycles/bvh/bvh_node.h
index 797dd5b694e..b3b5c43a394 100644
--- a/intern/cycles/bvh/bvh_node.h
+++ b/intern/cycles/bvh/bvh_node.h
@@ -179,7 +179,7 @@ class InnerNode : public BVHNode {
}
/* NOTE: This function is only used during binary BVH builder, and it
- * supposed to be configured to have 2 children which will be filled in in a
+ * supposed to be configured to have 2 children which will be filled-in in a
* bit. But this is important to have children reset to NULL. */
explicit InnerNode(const BoundBox &bounds) : BVHNode(bounds), num_children_(0)
{
diff --git a/intern/cycles/util/util_math_fast.h b/intern/cycles/util/util_math_fast.h
index 5ae56290f05..1113ede0f2d 100644
--- a/intern/cycles/util/util_math_fast.h
+++ b/intern/cycles/util/util_math_fast.h
@@ -243,7 +243,7 @@ ccl_device float fast_sinpif(float x)
const float P = 3.584135056f; /* P = 16-4*Q */
return y * (Q + P * fabsf(y));
- /* The original article used used inferior constants for Q and P and
+ /* The original article used inferior constants for Q and P and
* so had max error 1.091e-3.
*
* The optimal value for Q was determined by exhaustive search, minimizing
diff --git a/intern/cycles/util/util_task.h b/intern/cycles/util/util_task.h
index 55344ff86ba..ec45dfa8040 100644
--- a/intern/cycles/util/util_task.h
+++ b/intern/cycles/util/util_task.h
@@ -68,7 +68,7 @@ class TaskPool {
/* ** Statistics ** */
- /* Time time stamp of first task pushed. */
+ /* Time stamp of first task pushed. */
double start_time;
/* Number of all tasks pushed to the pool. Cleared after wait_work() and cancel(). */