utils: mdldec: smd.c: replace loop with VectorMA.
This commit is contained in:
parent
a2b992d865
commit
6d318a4102
1 changed files with 1 additions and 2 deletions
|
@ -399,8 +399,7 @@ static void WriteFrameInfo( FILE *fp, mstudioanim_t *anim, mstudioseqdesc_t *seq
|
||||||
{
|
{
|
||||||
scale = frame / (float)( seqdesc->numframes - 1 );
|
scale = frame / (float)( seqdesc->numframes - 1 );
|
||||||
|
|
||||||
for( j = 0; j < 3; j++ )
|
VectorMA( motion, scale, seqdesc->linearmovement, motion );
|
||||||
motion[j] += scale * seqdesc->linearmovement[j];
|
|
||||||
|
|
||||||
ProperBoneRotationZ( motion, 270.0f );
|
ProperBoneRotationZ( motion, 270.0f );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue