diff options
author | Hans Lambermont <hans@lambermont.dyndns.org> | 2002-10-12 15:37:38 +0400 |
---|---|---|
committer | Hans Lambermont <hans@lambermont.dyndns.org> | 2002-10-12 15:37:38 +0400 |
commit | 12315f4d0e0ae993805f141f64cb8c73c5297311 (patch) | |
tree | 59b45827cd8293cfb727758989c7a74b40183974 /source/gameengine/Physics/Sumo/include/solid_broadphase.h |
Initial revisionv2.25
Diffstat (limited to 'source/gameengine/Physics/Sumo/include/solid_broadphase.h')
-rw-r--r-- | source/gameengine/Physics/Sumo/include/solid_broadphase.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Sumo/include/solid_broadphase.h b/source/gameengine/Physics/Sumo/include/solid_broadphase.h new file mode 100644 index 00000000000..d5d05e8a243 --- /dev/null +++ b/source/gameengine/Physics/Sumo/include/solid_broadphase.h @@ -0,0 +1,38 @@ +#ifndef SOLID_BROADPHASE_H +#define SOLID_BROADPHASE_H + +#include "solid_types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +DT_DECLARE_HANDLE(BP_SceneHandle); +DT_DECLARE_HANDLE(BP_ProxyHandle); + +typedef void (*BP_Callback)(void *client_data, + void *object1, + void *object2); + +extern BP_SceneHandle BP_CreateScene(void *client_data, + BP_Callback beginOverlap, + BP_Callback endOverlap); + +extern void BP_DeleteScene(BP_SceneHandle scene); + +extern BP_ProxyHandle BP_CreateProxy(BP_SceneHandle scene, void *object, + const DT_Vector3 lower, + const DT_Vector3 upper); + +extern void BP_DeleteProxy(BP_SceneHandle scene, + BP_ProxyHandle proxy); + +extern void BP_SetBBox(BP_ProxyHandle proxy, + const DT_Vector3 lower, + const DT_Vector3 upper); + +#ifdef __cplusplus +} +#endif + +#endif |