};
static void testing_update(void){
+ if( !vg_console.cheats )
+ return;
+
if( vg_getkey( SDLK_9 ) ){
v3_add( localplayer.rb.co, (v3f){0,1,0}, baller.rb.co );
v3_zero( baller.rb.w );
q_identity( baller.rb.q );
rb_update_matrices( &baller.rb );
}
+
+ if( vg_getkey( SDLK_8 ) ){
+ localplayer.have_glider = 1;
+ localplayer.glider_orphan = 0;
+ player_glide.t = -1.0f;
+ }
+
vg_line_boxf_transformed( baller.rb.to_world, baller.box, VG__RED );
world_instance *world = world_current_instance();