diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-01 13:33:14 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-01 13:33:14 -0500 |
commit | 11fce2013426c8472e9dba5dbf552fdd55259b86 (patch) | |
tree | f0d7a1ca50c39b81aa9b1c6c8265702806c7edc6 /indra/llmath/llvolume.cpp | |
parent | 845f0049324d588de1c4f5096e646b5c8a7e1e8c (diff) |
Add llhysicsshapebuilderutil
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r-- | indra/llmath/llvolume.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 1f15d5465c..b3a6880011 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -3044,6 +3044,16 @@ BOOL LLVolume::isFlat(S32 face) } +bool LLVolumeParams::isSculpt() const +{ + return mSculptID.notNull(); +} + +bool LLVolumeParams::isMeshSculpt() const +{ + return isSculpt() && ((mSculptType & LL_SCULPT_TYPE_MASK) == LL_SCULPT_TYPE_MESH); +} + bool LLVolumeParams::operator==(const LLVolumeParams ¶ms) const { return ( (getPathParams() == params.getPathParams()) && |