aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/llrect.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmath/llrect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llmath/llrect.h b/linden/indra/llmath/llrect.h
index 9aadf9f..f2a5d75 100644
--- a/linden/indra/llmath/llrect.h
+++ b/linden/indra/llmath/llrect.h
@@ -227,6 +227,11 @@ public:
227 return mLeft == mRight || mBottom == mTop; 227 return mLeft == mRight || mBottom == mTop;
228 } 228 }
229 229
230 bool notNull() const
231 {
232 return !isNull();
233 }
234
230 LLRectBase& unionWith(const LLRectBase &other) 235 LLRectBase& unionWith(const LLRectBase &other)
231 { 236 {
232 mLeft = llmin(mLeft, other.mLeft); 237 mLeft = llmin(mLeft, other.mLeft);