1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! M2 Animation System
//!
//! This module provides animation playback support for M2 models, including:
//! - Animation state machine for tracking current/next animations
//! - Keyframe interpolation (linear, step, hermite)
//! - Global sequence support
//! - Animation blending between states
//! - Bone hierarchy transform computation
//!
//! # Example
//!
//! ```rust,ignore
//! use wow_m2::animation::{
//! AnimationManager, AnimSequence, ResolvedBone,
//! BoneTransformComputer, Mat4,
//! };
//!
//! // Create manager from model data
//! let manager = AnimationManager::new(
//! global_sequence_durations,
//! sequences,
//! bones,
//! );
//!
//! // Update animation state
//! manager.update(delta_time_ms);
//!
//! // Get interpolated bone values
//! let translation = manager.get_bone_translation(0);
//! let rotation = manager.get_bone_rotation(0);
//!
//! // Compute bone hierarchy transforms
//! let mut transform_computer = BoneTransformComputer::new(&pivots, &parents, &flags);
//! transform_computer.update(&translations, &rotations, &scales);
//! let gpu_data = transform_computer.get_gpu_data();
//! ```
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;