add network view for glider
[carveJwlIkooP6JGAAIwe30JlM.git] / world_physics.h
index 2a38330ad717b8d5f1b02faaac12b360895dddf4..8531b8f1b14f0cc4ff1df6fca94b79c6caf8f575 100644 (file)
@@ -2,25 +2,26 @@
 #define WORLD_PHYSICS_H
 
 #include "world.h"
-#include "rigidbody.h"
+#include "vg/vg_rigidbody.h"
+#include "vg/vg_rigidbody_collision.h"
 
-VG_STATIC void ray_world_get_tri( world_instance *world,
+static void ray_world_get_tri( world_instance *world,
                                   ray_hit *hit, v3f tri[3] );
 
-VG_STATIC int ray_world( world_instance *world,
+static int ray_world( world_instance *world,
                          v3f pos, v3f dir, ray_hit *hit, u16 ignore );
 
-VG_STATIC int spherecast_world( world_instance *world,
+static int spherecast_world( world_instance *world,
                                 v3f pa, v3f pb, float r, float *t, v3f n,
                                 u16 ignore );
 
-VG_STATIC struct world_surface *world_tri_index_surface( world_instance *world, 
+static struct world_surface *world_tri_index_surface( world_instance *world, 
                                                          u32 index );
 
-VG_STATIC struct world_surface *world_contact_surface( world_instance *world,
+static struct world_surface *world_contact_surface( world_instance *world,
                                                          rb_ct *ct );
 
-VG_STATIC struct world_surface *ray_hit_surface( world_instance *world,
+static struct world_surface *ray_hit_surface( world_instance *world,
                                                  ray_hit *hit );
 
 #endif /* WORLD_PHYSICS_H */