Tizen 2.1 base
[platform/upstream/libbullet.git] / Extras / PhysicsEffects / include / physics_effects / base_level / broadphase / pfx_update_broadphase_proxy.h
1 /*\r
2 Physics Effects Copyright(C) 2010 Sony Computer Entertainment Inc.\r
3 All rights reserved.\r
4 \r
5 Physics Effects is open software; you can redistribute it and/or\r
6 modify it under the terms of the BSD License.\r
7 \r
8 Physics Effects is distributed in the hope that it will be useful,\r
9 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
11 See the BSD License for more details.\r
12 \r
13 A copy of the BSD License is distributed with\r
14 Physics Effects under the filename: physics_effects_license.txt\r
15 */\r
16 \r
17 #ifndef _SCE_PFX_UPDATE_BROADPHASE_PROXY_H\r
18 #define _SCE_PFX_UPDATE_BROADPHASE_PROXY_H\r
19 \r
20 #include "pfx_broadphase_pair.h"\r
21 #include "pfx_broadphase_proxy.h"\r
22 #include "../rigidbody/pfx_rigid_state.h"\r
23 #include "../collision/pfx_collidable.h"\r
24 \r
25 namespace sce {\r
26 namespace PhysicsEffects {\r
27 \r
28 ///////////////////////////////////////////////////////////////////////////////\r
29 // Update Broadphase Proxy\r
30 \r
31 //E For single axis\r
32 //J 単一軸に対して作成\r
33 PfxInt32 pfxUpdateBroadphaseProxy(\r
34         PfxBroadphaseProxy &proxy,\r
35         const PfxRigidState &state,\r
36         const PfxCollidable &coll,\r
37         const PfxVector3 &worldCenter,\r
38         const PfxVector3 &worldExtent,\r
39         PfxUInt32 axis);\r
40 \r
41 PfxInt32 pfxUpdateBroadphaseProxy(\r
42         PfxBroadphaseProxy &proxy,\r
43         const PfxRigidState &state,\r
44         const PfxVector3 &objectCenter,\r
45         const PfxVector3 &objectHalf,\r
46         const PfxVector3 &worldCenter,\r
47         const PfxVector3 &worldExtent,\r
48         PfxUInt32 axis);\r
49 \r
50 //E For all axes\r
51 //J 全軸に対して作成\r
52 PfxInt32 pfxUpdateBroadphaseProxy(\r
53         PfxBroadphaseProxy &proxyX,\r
54         PfxBroadphaseProxy &proxyY,\r
55         PfxBroadphaseProxy &proxyZ,\r
56         PfxBroadphaseProxy &proxyXb,\r
57         PfxBroadphaseProxy &proxyYb,\r
58         PfxBroadphaseProxy &proxyZb,\r
59         const PfxRigidState &state,\r
60         const PfxCollidable &coll,\r
61         const PfxVector3 &worldCenter,\r
62         const PfxVector3 &worldExtent);\r
63 \r
64 PfxInt32 pfxUpdateBroadphaseProxy(\r
65         PfxBroadphaseProxy &proxyX,\r
66         PfxBroadphaseProxy &proxyY,\r
67         PfxBroadphaseProxy &proxyZ,\r
68         PfxBroadphaseProxy &proxyXb,\r
69         PfxBroadphaseProxy &proxyYb,\r
70         PfxBroadphaseProxy &proxyZb,\r
71         const PfxRigidState &state,\r
72         const PfxVector3 &objectCenter,\r
73         const PfxVector3 &objectHalf,\r
74         const PfxVector3 &worldCenter,\r
75         const PfxVector3 &worldExtent);\r
76 \r
77 } // namespace PhysicsEffects\r
78 } // namespace sce\r
79 \r
80 #endif // _SCE_PFX_UPDATE_BROADPHASE_PROXY_H\r