port
[carveJwlIkooP6JGAAIwe30JlM.git] / player_render.h
index be12d68287c9c8eaa75f6d1705bd16a01cc820c5..4ea095cb5088059edc2da4eec01d55176d3b3543 100644 (file)
@@ -12,6 +12,7 @@ struct player_avatar
    struct skeleton sk;
 
    u32 id_hip,
+       id_chest,
        id_ik_hand_l,
        id_ik_hand_r,
        id_ik_elbow_l,
@@ -85,6 +86,11 @@ static void render_board( camera *cam, world_instance *world,
 static void render_playermodel( camera *cam, world_instance *world,
                                    int depth_compare,
                                    struct player_model *model,
-                                   struct skeleton *skeleton );
+                                   struct skeleton *skeleton,
+                                   m4x3f *final_mtx );
+static void apply_full_skeleton_pose( struct skeleton *sk, player_pose *pose,
+                                      m4x3f *final_mtx );
+static void lerp_player_pose( player_pose *pose0, player_pose *pose1, f32 t,
+                              player_pose *posed );
 
 #endif /* PLAYER_RENDER_H */