diff options
Diffstat (limited to 'indra/llmath/llrigginginfo.h')
-rw-r--r-- | indra/llmath/llrigginginfo.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/llmath/llrigginginfo.h b/indra/llmath/llrigginginfo.h index 059c6ae082..d761af68b1 100644 --- a/indra/llmath/llrigginginfo.h +++ b/indra/llmath/llrigginginfo.h @@ -27,8 +27,8 @@ // Stores information related to associated rigged mesh vertices // This lives in llmath because llvolume lives in llmath. -#ifndef LL_LLRIGGINGINFO_H -#define LL_LLRIGGINGINFO_H +#ifndef LL_LLRIGGINGINFO_H +#define LL_LLRIGGINGINFO_H #include "llvector4a.h" @@ -46,7 +46,7 @@ public: void merge(const LLJointRiggingInfo& other); private: - LLVector4a mRiggedExtents[2]; + LLVector4a mRiggedExtents[2]; bool mIsRiggedTo; }; @@ -66,6 +66,10 @@ public: const LLJointRiggingInfo& operator[](S32 i) const { return mRigInfoPtr[i]; }; bool needsUpdate() { return mNeedsUpdate; } void setNeedsUpdate(bool val) { mNeedsUpdate = val; } + + LLJointRiggingInfo* begin() { return mRigInfoPtr; } + LLJointRiggingInfo* end() { return mRigInfoPtr + mSize; } + private: // Not implemented LLJointRiggingInfoTab& operator=(const LLJointRiggingInfoTab& src); |