diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-22 17:47:14 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-22 17:47:14 +0100 |
commit | 861506d048b7c4370f066e62233448979824bd68 (patch) | |
tree | caa435843c73aab13174a3b63bfb6dd759a9df73 /src/animation/RpAnimBlend.cpp | |
parent | missing endlines (diff) | |
parent | Remove all constexpr (diff) | |
download | re3-861506d048b7c4370f066e62233448979824bd68.tar re3-861506d048b7c4370f066e62233448979824bd68.tar.gz re3-861506d048b7c4370f066e62233448979824bd68.tar.bz2 re3-861506d048b7c4370f066e62233448979824bd68.tar.lz re3-861506d048b7c4370f066e62233448979824bd68.tar.xz re3-861506d048b7c4370f066e62233448979824bd68.tar.zst re3-861506d048b7c4370f066e62233448979824bd68.zip |
Diffstat (limited to 'src/animation/RpAnimBlend.cpp')
-rw-r--r-- | src/animation/RpAnimBlend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/animation/RpAnimBlend.cpp b/src/animation/RpAnimBlend.cpp index 8108619e..9c847139 100644 --- a/src/animation/RpAnimBlend.cpp +++ b/src/animation/RpAnimBlend.cpp @@ -183,8 +183,8 @@ RpAnimBlendClumpGetMainAssociation(RpClump *clump, CAnimBlendAssociation **assoc CAnimBlendAssociation *mainAssoc = nil; CAnimBlendAssociation *secondAssoc = nil; - float mainBlend = 0.0; - float secondBlend = 0.0; + float mainBlend = 0.0f; + float secondBlend = 0.0f; for(CAnimBlendLink *link = clumpData->link.next; link; link = link->next){ CAnimBlendAssociation *assoc = CAnimBlendAssociation::FromLink(link); @@ -215,7 +215,7 @@ RpAnimBlendClumpGetMainPartialAssociation(RpClump *clump) if(clumpData == nil) return nil; CAnimBlendAssociation *mainAssoc = nil; - float mainBlend = 0.0; + float mainBlend = 0.0f; for(CAnimBlendLink *link = clumpData->link.next; link; link = link->next){ CAnimBlendAssociation *assoc = CAnimBlendAssociation::FromLink(link); |