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:
authorDalai Felinto <dfelinto@gmail.com>2012-11-23 06:10:13 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-11-23 06:10:13 +0400
commitf403ca34c7d6e9856ca669d0684b1f4eea4dbf11 (patch)
tree54fff8a26c5c1339871067def122e1bc225817b6 /intern/cycles/util/util_boundbox.h
parent08d5bad60d1293e28aeeec7f5ed028ccbed5bc85 (diff)
final fix for Sensor Fit (AUTO, HOR, VERT) in panorama lens - patch by Brecht Van Lommel and me
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
{