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:
Diffstat (limited to 'intern/cycles/util/util_boundbox.h')
-rw-r--r--intern/cycles/util/util_boundbox.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/intern/cycles/util/util_boundbox.h b/intern/cycles/util/util_boundbox.h
index 624a911a3f5..6dd1c6c71e8 100644
--- a/intern/cycles/util/util_boundbox.h
+++ b/intern/cycles/util/util_boundbox.h
@@ -182,9 +182,15 @@ public:
bottom == other.bottom && top == other.top);
}
- float width() {return right - left;}
+ float width()
+ {
+ return right - left;
+ }
- float height() {return bottom - top;}
+ float height()
+ {
+ return top - bottom;
+ }
BoundBox2D operator*(float f) const
{