-#ifndef PLAYER_WALK_C
-#define PLAYER_WALK_C
+#pragma once
+
+#include "vg/vg_rigidbody_collision.h"
+#include "scene_rigidbody.h"
#include "player.h"
#include "input.h"
w->surface = k_surface_prop_concrete;
for( int i=0; i<len; i++ ){
- struct contact *ct = &manifold[i];
+ rb_ct *ct = &manifold[i];
rb_debug_contact( ct );
if( player_walk_normal_standable( ct->n ) ){
*/
for( int j=0; j<5; j++ ){
for( int i=0; i<len; i++ ){
- struct contact *ct = &manifold[i];
+ rb_ct *ct = &manifold[i];
/*normal */
float vn = -v3_dot( localplayer.rb.v, ct->n );
audio_unlock();
}
-#endif /* PLAYER_DEVICE_WALK_H */