fixed spacing in the headers to get rid of some warnings and some other
[blender.git] / source / gameengine / Physics / Sumo / include / solid_broadphase.h
1 #ifndef SOLID_BROADPHASE_H
2 #define SOLID_BROADPHASE_H
3
4 #include "solid_types.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9     
10 DT_DECLARE_HANDLE(BP_SceneHandle);
11 DT_DECLARE_HANDLE(BP_ProxyHandle);
12
13 typedef void (*BP_Callback)(void *client_data,
14                             void *object1,
15                             void *object2);
16
17 extern BP_SceneHandle BP_CreateScene(void *client_data,
18                                                                          BP_Callback beginOverlap,
19                                                                          BP_Callback endOverlap);
20  
21 extern void           BP_DeleteScene(BP_SceneHandle scene);
22         
23 extern BP_ProxyHandle BP_CreateProxy(BP_SceneHandle scene, void *object,
24                                                                          const DT_Vector3 lower, 
25                                                                          const DT_Vector3 upper);
26
27 extern void           BP_DeleteProxy(BP_SceneHandle scene, 
28                                                                          BP_ProxyHandle proxy);
29
30 extern void BP_SetBBox(BP_ProxyHandle proxy, 
31                                            const DT_Vector3 lower, 
32                                            const DT_Vector3 upper);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif
39