projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic replayable replays
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_skateshop.c
diff --git
a/ent_skateshop.c
b/ent_skateshop.c
index 40e17f7f25995c98ab54f2f6bb1d937e1e62034d..4c55bb939477117aac5c1cb36ae900aa50830ed9 100644
(file)
--- a/
ent_skateshop.c
+++ b/
ent_skateshop.c
@@
-432,9
+432,11
@@
VG_STATIC void skateshop_render_boardshop(void)
q_nlerp( xform.q, mark_display->transform.q, t, xform.q );
v3_lerp( xform.s, mark_display->transform.s, t, xform.s );
q_nlerp( xform.q, mark_display->transform.q, t, xform.q );
v3_lerp( xform.s, mark_display->transform.s, t, xform.s );
+ struct board_pose pose = {0};
m4x3f mmdl;
mdl_transform_m4x3( &xform, mmdl );
m4x3f mmdl;
mdl_transform_m4x3( &xform, mmdl );
- render_board( &main_camera, world, board, mmdl, k_board_shader_entity );
+ render_board( &main_camera, world, board, mmdl,
+ &pose, k_board_shader_entity );
fade_out:;
float rate = 5.0f*vg.time_delta;
fade_out:;
float rate = 5.0f*vg.time_delta;