mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 17:14:44 +08:00
Improved animations game replication and performance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user