aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/llrect.h
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-15 18:02:40 +0200
committerAleric Inglewood2010-10-15 18:02:40 +0200
commitb2d616b732943817b7e705fc8f6c4be9beee3def (patch)
tree9f7ba1665cb8439fea6fd4a7d589c023145281a0 /linden/indra/llmath/llrect.h
parentComment out code to make it compile at all (with the latest llqtwebkit). (diff)
downloadmeta-impy-b2d616b732943817b7e705fc8f6c4be9beee3def.zip
meta-impy-b2d616b732943817b7e705fc8f6c4be9beee3def.tar.gz
meta-impy-b2d616b732943817b7e705fc8f6c4be9beee3def.tar.bz2
meta-impy-b2d616b732943817b7e705fc8f6c4be9beee3def.tar.xz
Rename LLRect::isNull to LLRect::isEmpty (a random thing I picked up from snowglobe 2.x).
Diffstat (limited to '')
-rw-r--r--linden/indra/llmath/llrect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmath/llrect.h b/linden/indra/llmath/llrect.h
index 9eb58db..33070c4 100644
--- a/linden/indra/llmath/llrect.h
+++ b/linden/indra/llmath/llrect.h
@@ -229,14 +229,14 @@ public:
229 return mLeft <= mRight && mBottom <= mTop; 229 return mLeft <= mRight && mBottom <= mTop;
230 } 230 }
231 231
232 bool isNull() const 232 bool isEmpty() const
233 { 233 {
234 return mLeft == mRight || mBottom == mTop; 234 return mLeft == mRight || mBottom == mTop;
235 } 235 }
236 236
237 bool notNull() const 237 bool notNull() const
238 { 238 {
239 return !isNull(); 239 return !isEmpty();
240 } 240 }
241 241
242 LLRectBase& unionWith(const LLRectBase &other) 242 LLRectBase& unionWith(const LLRectBase &other)