static void player__skate_animator_exchange( bitpack_ctx *ctx, void *data ){
struct player_skate_animator *animator = data;
- bitpack_bytes( ctx, sizeof(animator->root_co), animator->root_co );
+ bitpack_qv3f( ctx, 16, -1024.0f, 1024.0f, animator->root_co );
bitpack_qquat( ctx, animator->root_q );
bitpack_qv3f( ctx, 8, -1.0f, 1.0f, animator->offset );
static void player__walk_animator_exchange( bitpack_ctx *ctx, void *data ){
struct player_walk_animator *animator = data;
- //bitpack_bytes( ctx, sizeof(*animator), animator );
- bitpack_bytes( ctx, sizeof(animator->root_co), animator->root_co );
+
+ bitpack_qv3f( ctx, 16, -1024.0f, 1024.0f, animator->root_co );
bitpack_qquat( ctx, animator->root_q );
bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->fly );
bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->run );