diff options
| author | fig02 <fig02srl@gmail.com> | 2021-01-01 18:38:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-01 18:38:03 -0500 |
| commit | 1bcccef2c5a3fe0d67778e80aabff7d894ab2168 (patch) | |
| tree | 023023586baff01f7628ca9dd3e307a79f8f1e2a /ZAPD/ZAnimation.cpp | |
| parent | 1a71d7020ee7a601232cc4a422101061703bf3c6 (diff) | |
| parent | e7ca29b08d7af4a74f097d12151704a888b1af89 (diff) | |
Merge pull request #38 from Kenix3/indices_rename
Fixes typo indicies -> indices
Diffstat (limited to 'ZAPD/ZAnimation.cpp')
| -rw-r--r-- | ZAPD/ZAnimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZAnimation.cpp b/ZAPD/ZAnimation.cpp index 68f9843..c420909 100644 --- a/ZAPD/ZAnimation.cpp +++ b/ZAPD/ZAnimation.cpp @@ -79,7 +79,7 @@ string ZAnimation::GetSourceOutputCode(string prefix) { if (parent != nullptr) { - string headerStr = StringHelper::Sprintf("%i, %sFrameData, %sJointIndicies, %i", + string headerStr = StringHelper::Sprintf("%i, %sFrameData, %sJointIndices, %i", frameCount, name.c_str(), name.c_str(), limit); parent->declarations[rawDataIndex] = new Declaration(DeclarationAlignment::None, 16, "AnimationHeader", StringHelper::Sprintf("%s", name.c_str()), false, headerStr); @@ -108,7 +108,7 @@ string ZAnimation::GetSourceOutputCode(string prefix) StringHelper::Sprintf("%sFrameData", name.c_str()), rotationValues.size(), valuesStr); parent->AddDeclarationArray(rotationIndicesSeg, DeclarationAlignment::Align16, (int)rotationIndices.size() * 6, "JointIndex", - StringHelper::Sprintf("%sJointIndicies", name.c_str()), rotationIndices.size(), indicesStr); + StringHelper::Sprintf("%sJointIndices", name.c_str()), rotationIndices.size(), indicesStr); } return ""; |
