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-09-29 00:29:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-29 00:29:15 +0300
commit79290f51605e31cff09e4984d4f493d05bfe17e2 (patch)
tree77a9513a2c85012ac805f38c1083c423c36c72f1 /source/blender/compositor/intern
parentefe3a13b55c0295b68697c19e4379b5bbe8684ca (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/compositor/intern')
-rw-r--r--source/blender/compositor/intern/COM_MemoryBuffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h
index 4d6c5790987..9e173f73f63 100644
--- a/source/blender/compositor/intern/COM_MemoryBuffer.h
+++ b/source/blender/compositor/intern/COM_MemoryBuffer.h
@@ -695,8 +695,9 @@ class MemoryBuffer {
return y >= m_rect.ymin && y < m_rect.ymax;
}
- /* Fast floor functions. The caller should check result is within buffer bounds. It ceils in near
- * cases and when given coordinate is negative and less than buffer rect `min - 1`. */
+ /* Fast `floor(..)` functions. The caller should check result is within buffer bounds.
+ * It `ceil(..)` in near cases and when given coordinate
+ * is negative and less than buffer rect `min - 1`. */
int floor_x(float x) const
{
return (int)(x + to_positive_x_stride_) - to_positive_x_stride_;