projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update imgui api changes
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_render.h
diff --git
a/player_render.h
b/player_render.h
index 4d5145ffbc56e3dfbfb7d3ded88696c621ad01df..5a11bea841d77d47c2483b5c53c0995b1baa7bdd 100644
(file)
--- a/
player_render.h
+++ b/
player_render.h
@@
-66,12
+66,25
@@
enum board_shader{
k_board_shader_entity
};
k_board_shader_entity
};
+VG_STATIC void dynamic_model_load( mdl_context *ctx,
+ struct dynamic_model_1texture *mdl,
+ const char *path );
+VG_STATIC void dynamic_model_unload( struct dynamic_model_1texture *mdl );
+
VG_STATIC void player_board_load( struct player_board *mdl, const char *path );
VG_STATIC void player_board_unload( struct player_board *mdl );
VG_STATIC void player_board_load( struct player_board *mdl, const char *path );
VG_STATIC void player_board_unload( struct player_board *mdl );
-VG_STATIC void dynamic_model_unload( struct dynamic_model_1texture *mdl );
+VG_STATIC void player_model_load( struct player_model *board, const char *path);
+VG_STATIC void player_model_unload( struct player_model *board );
+
VG_STATIC void render_board( camera *cam, world_instance *world,
struct player_board *board, m4x3f root,
VG_STATIC void render_board( camera *cam, world_instance *world,
struct player_board *board, m4x3f root,
+ struct player_board_pose *pose,
enum board_shader shader );
enum board_shader shader );
+VG_STATIC void render_playermodel( camera *cam, world_instance *world,
+ int depth_compare,
+ struct player_model *model,
+ struct skeleton *skeleton );
+
#endif /* PLAYER_RENDER_H */
#endif /* PLAYER_RENDER_H */