utils: mdldec: smd.c: replace loop with VectorMA.

This commit is contained in:
Andrey Akhmichin 2023-10-16 11:00:40 +05:00 committed by Alibek Omarov
parent a2b992d865
commit 6d318a4102
1 changed files with 1 additions and 2 deletions

View File

@ -399,8 +399,7 @@ static void WriteFrameInfo( FILE *fp, mstudioanim_t *anim, mstudioseqdesc_t *seq
{
scale = frame / (float)( seqdesc->numframes - 1 );
for( j = 0; j < 3; j++ )
motion[j] += scale * seqdesc->linearmovement[j];
VectorMA( motion, scale, seqdesc->linearmovement, motion );
ProperBoneRotationZ( motion, 270.0f );
}