mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
Character Interpolation: Fix typescript type warnings
This commit is contained in:
1 parent
a6336cc05b
commit
427af853e4
1 file changed
+2
-2
@@ -81,8 +81,8 @@ export class CharacterAnimationEngine {
|
||||
|
||||
// Find the two clips we're interpolating between
|
||||
// TODO: Binary search? We won't need it because the amount of clips is too low
|
||||
let prevClip = null;
|
||||
let nextClip = null;
|
||||
let prevClip: ClipUI | null = null;
|
||||
let nextClip: ClipUI | null = null;
|
||||
const lastClip = clips[clips.length - 1];
|
||||
|
||||
// If we're before the first clip, interpolate it in from base pose
|
||||
|
||||
Reference in new issue
Block a user