summaryrefslogtreecommitdiff
path: root/indra/llmath/llrect.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-04-01 17:45:04 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-04-01 17:45:04 +0000
commit941cb9f4124c9ccfd5c845bc94639fa46df12c3d (patch)
treee0f525e7bd6cc76d89b2df69c6f1554d191561e8 /indra/llmath/llrect.h
parentecec626dec93524f7ef5831a5ba344d6449b99bc (diff)
merge release@83343 skinning-1-merge@83714 -> release
QAR-424
Diffstat (limited to 'indra/llmath/llrect.h')
-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);