more refactors..
[carveJwlIkooP6JGAAIwe30JlM.git] / player_render.h
index f6c8194373c0d0abfc8b44f7881babef9225fbfd..a31f19a86fe128f4c4c48952c3389ff75a2fbd5c 100644 (file)
@@ -26,12 +26,6 @@ struct player_avatar
        id_board;
 };
 
-struct player_model
-{
-   glmesh mesh;
-   GLuint texture;
-};
-
 enum eboard_truck{
    k_board_truck_back = 0,
    k_board_truck_front = 1
@@ -44,8 +38,9 @@ enum eboard_wheel{
    k_board_wheel_br = 3,
 };
 
-struct player_board
-{
+struct player_board{
+   mdl_context model;
+
    glmesh mesh;
    GLuint texture;
 
@@ -58,6 +53,11 @@ struct player_board
                board;
 };
 
+struct player_model{
+   glmesh mesh;
+   GLuint texture;
+};
+
 enum board_shader{
    k_board_shader_player,
    k_board_shader_entity