Bump sdk to Granny-aligned curve sampling; loop motions use the loop window

sdk de8fa40: B-spline loop window, cubic curves, degree-0 first-knot>t.
ActorInstance passes the motion's loop flag to SetAnimationLoop so looping
motions sample across the seam instead of clamping to the end knots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-12 15:39:25 +09:00
co-authored by Claude Opus 5.5
parent ff8667e3b9
commit a34b9c5a49
4 changed files with 8 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@ public:
// Load external animation (.gr2) to animate this model
bool LoadExternalAnimation(const std::string& anim_filepath);
float GetAnimationDuration() const;
// Granny loop window: looping motions pass (true, true) so the seam samples across loops.
void SetAnimationLoop(bool underflow_loop, bool overflow_loop);
// Bone queries & attachments
bool GetBoneWorldTransform(const std::string& bone_name, float* out_matrix, float animation_time = -1.0f) const;