Improved animations game replication and performance

This commit is contained in:
dexy
2022-01-28 06:25:41 +11:00
Unverified
parent 73402373e3
commit bc14a1fd22
3 changed files with 31 additions and 12 deletions
+1 -1
View File
@@ -922,7 +922,7 @@ namespace CodeWalker.GameFiles
var aseq = seq.Sequences[boneIndex];
var q0 = aseq.EvaluateQuaternion(f0);
var q1 = aseq.EvaluateQuaternion(f1);
var q = interpolate ? Quaternion.Slerp(q0, q1, frame.Alpha1) : q0;
var q = interpolate ? QuaternionExtension.FastLerp(q0, q1, frame.Alpha1) : q0;
return q;
}