mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Fix morph target issue where more than 4 targets were not interpolating correctly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5926 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8c0646159f
commit
df83d72837
1 changed files with 1 additions and 1 deletions
|
@ -2923,7 +2923,7 @@ static void LerpAnimData(const struct gltf_animsampler *samp, float time, float
|
||||||
{
|
{
|
||||||
float t0, t1;
|
float t0, t1;
|
||||||
float w0, w1;
|
float w0, w1;
|
||||||
float v0[4], v1[4];
|
float v0[max(4,MAX_MORPHWEIGHTS)], v1[max(4,MAX_MORPHWEIGHTS)];
|
||||||
int f0, f1, c;
|
int f0, f1, c;
|
||||||
|
|
||||||
const struct gltf_accessor *in = &samp->input;
|
const struct gltf_accessor *in = &samp->input;
|
||||||
|
|
Loading…
Reference in a new issue