diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-14 09:15:17 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-14 09:15:17 -0700 |
commit | 886fe3eefc8688df206e7b397a6b9438c7492f5f (patch) | |
tree | 1851859f1fb2498bcd89a080d53620e77b9dc68f /indra/llmath/llvolume.h | |
parent | 7a64e8f8bfeff17d6a5385a6c39f1056214cb59f (diff) | |
parent | 2207dc0e610c1bf18f04620bc216e0da71762237 (diff) |
Merge
Diffstat (limited to 'indra/llmath/llvolume.h')
-rw-r--r-- | indra/llmath/llvolume.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.h b/indra/llmath/llvolume.h index 1d6d35c432..a77e8c08c6 100644 --- a/indra/llmath/llvolume.h +++ b/indra/llmath/llvolume.h @@ -875,6 +875,7 @@ public: void resizeVertices(S32 num_verts); void allocateTangents(S32 num_verts); void allocateWeights(S32 num_verts); + void allocateJointIndices(S32 num_verts); void resizeIndices(S32 num_indices); void fillFromLegacyData(std::vector<LLVolumeFace::VertexData>& v, std::vector<U16>& idx); @@ -956,6 +957,11 @@ public: // mWeights.size() should be empty or match mVertices.size() LLVector4a* mWeights; +#if USE_SEPARATE_JOINT_INDICES_AND_WEIGHTS + LLVector4a* mJustWeights; + U8* mJointIndices; +#endif + mutable BOOL mWeightsScrubbed; // Which joints are rigged to, and the bounding box of any rigged |