summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-05 19:54:30 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-05 19:54:30 +0100
commitb269b531706f2490f143bb675398d7c53e2254af (patch)
treeb9e42d0f0e76fd45e2acb08a3274a67ab224de76
parent3fcf7a32ee7256ef294c6c01c793f63dfdfb6958 (diff)
SL-915 - alignment/optimization changes
-rw-r--r--indra/llmath/llrigginginfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llmath/llrigginginfo.h b/indra/llmath/llrigginginfo.h
index 18da905abb..7b36880a39 100644
--- a/indra/llmath/llrigginginfo.h
+++ b/indra/llmath/llrigginginfo.h
@@ -30,8 +30,11 @@
#ifndef LL_LLRIGGINGINFO_H
#define LL_LLRIGGINGINFO_H
+#include "llvector4a.h"
+
// Extents are in joint space
// isRiggedTo is based on the state of all currently associated rigged meshes
+LL_ALIGN_PREFIX(16)
class LLJointRiggingInfo
{
public:
@@ -44,7 +47,7 @@ public:
private:
LL_ALIGN_16(LLVector4a mRiggedExtents[2]);
bool mIsRiggedTo;
-};
+} LL_ALIGN_POSTFIX(16);
// For storing all the rigging info associated with a given avatar or
// object, keyed by joint_num.