X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=world_physics.h;fp=world_physics.h;h=2a38330ad717b8d5f1b02faaac12b360895dddf4;hb=35b57a341eb37d863ec69e4f011a88b7bfba5c01;hp=3a5561d27613dbca6abed6bd8005a9061d029756;hpb=8a31c1ffcb632b9b6d1702332f0d75d609c0a87b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_physics.h b/world_physics.h index 3a5561d..2a38330 100644 --- a/world_physics.h +++ b/world_physics.h @@ -8,10 +8,11 @@ VG_STATIC void ray_world_get_tri( world_instance *world, ray_hit *hit, v3f tri[3] ); VG_STATIC int ray_world( world_instance *world, - v3f pos, v3f dir, ray_hit *hit ); + v3f pos, v3f dir, ray_hit *hit, u16 ignore ); VG_STATIC int spherecast_world( world_instance *world, - v3f pa, v3f pb, float r, float *t, v3f n ); + v3f pa, v3f pb, float r, float *t, v3f n, + u16 ignore ); VG_STATIC struct world_surface *world_tri_index_surface( world_instance *world, u32 index );