typedef mdl_keyframe player_pose[32];
typedef struct player_animation player_animation;
-struct player_animation
-{
+struct player_animation{
player_pose pose;
v3f root_co;
v4f root_q;
+
+ enum player_animation_type {
+ k_player_animation_type_fk, /* regular FK animation */
+ k_player_animation_type_absolute /* decomposition of the final matrices */
+ }
+ type;
};
#endif /* PLAYER_API_H */