projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore autogenerated headers
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_physics.h
diff --git
a/world_physics.h
b/world_physics.h
index 3e7e5951937c59ceeeba834c602b4289986c14f7..06143b9a9d9ed3c322cb5089196feec6153a9e56 100644
(file)
--- a/
world_physics.h
+++ b/
world_physics.h
@@
-1,24
+1,24
@@
-#ifndef WORLD_PHYSICS_H
-#define WORLD_PHYSICS_H
-
+#pragma once
#include "world.h"
#include "world.h"
+#include "vg/vg_rigidbody.h"
+#include "vg/vg_rigidbody_collision.h"
+#include "vg/vg_bvh.h"
-
VG_STATIC
void ray_world_get_tri( world_instance *world,
-
ray_hit *hit, v3f tri[3] );
+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
);
+int ray_world( world_instance *world,
+
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 );
+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,
-
u32 index );
+struct world_surface *world_tri_index_surface( world_instance *world,
+ u32 index );
-
VG_STATIC
struct world_surface *world_contact_surface( world_instance *world,
-
rb_ct *ct );
+struct world_surface *world_contact_surface( world_instance *world,
+ rb_ct *ct );
-
VG_STATIC
struct world_surface *ray_hit_surface( world_instance *world,
+struct world_surface *ray_hit_surface( world_instance *world,
ray_hit *hit );
ray_hit *hit );
-
-#endif /* WORLD_PHYSICS_H */