summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llrect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmath/llrect.h b/indra/llmath/llrect.h
index 1fa5a741d5..17fa981c7c 100644
--- a/indra/llmath/llrect.h
+++ b/indra/llmath/llrect.h
@@ -227,6 +227,11 @@ public:
return mLeft == mRight || mBottom == mTop;
}
+ bool notNull() const
+ {
+ return !isNull();
+ }
+
LLRectBase& unionWith(const LLRectBase &other)
{
mLeft = llmin(mLeft, other.mLeft);