1 #ifndef PLAYER_RENDER_H
2 #define PLAYER_RENDER_H
30 k_board_truck_back
= 0,
31 k_board_truck_front
= 1
41 /* TODO: Fully featured dynamic models
42 * This is FAR from the final system we want at all, but it will do for now */
43 struct dynamic_model_1texture
{
49 struct dynamic_model_1texture mdl
;
51 v4f wheel_positions
[4],
55 mdl_submesh wheels
[4],
61 struct dynamic_model_1texture mdl
;
65 k_board_shader_player
,
69 VG_STATIC
void player_board_load( struct player_board
*mdl
, const char *path
);
70 VG_STATIC
void player_board_unload( struct player_board
*mdl
);
72 VG_STATIC
void dynamic_model_unload( struct dynamic_model_1texture
*mdl
);
73 VG_STATIC
void render_board( camera
*cam
, world_instance
*world
,
74 struct player_board
*board
, m4x3f root
,
75 enum board_shader shader
);
77 #endif /* PLAYER_RENDER_H */