projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added tools step to build
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_api.h
diff --git
a/player_api.h
b/player_api.h
index ad9e4ca496a0043ed229ebd2b1678fc33fa76c4e..a009d6ddd4201e0594e957370109f77ffff3bab1 100644
(file)
--- a/
player_api.h
+++ b/
player_api.h
@@
-10,11
+10,16
@@
typedef struct player_instance player_instance;
typedef mdl_keyframe player_pose[32];
typedef struct player_animation player_animation;
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;
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 */
};
#endif /* PLAYER_API_H */