mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 08:08:02 +00:00
utils: mdldec: smd.c: replace loop with VectorMA.
This commit is contained in:
parent
a2b992d865
commit
6d318a4102
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user