Tizen 2.1 base
[platform/upstream/libbullet.git] / Extras / PhysicsEffects / include / physics_effects / low_level / solver / pfx_update_rigid_states.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_RIGID_STATES_H_\r
18 #define _SCE_PFX_UPDATE_RIGID_STATES_H_\r
19 \r
20 #include "../../base_level/rigidbody/pfx_rigid_body.h"\r
21 #include "../../base_level/rigidbody/pfx_rigid_state.h"\r
22 \r
23 #include "../task/pfx_task_manager.h"\r
24 \r
25 namespace sce {
26 namespace PhysicsEffects {
27 \r
28 ///////////////////////////////////////////////////////////////////////////////\r
29 // Update Rigid Body States\r
30 \r
31 struct PfxUpdateRigidStatesParam {\r
32         PfxRigidState *states;\r
33         PfxRigidBody *bodies;\r
34         PfxUInt32 numRigidBodies;\r
35         PfxFloat timeStep;\r
36 };\r
37 \r
38 PfxInt32 pfxUpdateRigidStates(PfxUpdateRigidStatesParam &param);\r
39 \r
40 PfxInt32 pfxUpdateRigidStates(PfxUpdateRigidStatesParam &param,PfxTaskManager *taskManager);\r
41 \r
42 } //namespace PhysicsEffects
43 } //namespace sce\r
44 \r
45 #endif /* _SCE_PFX_UPDATE_RIGID_STATES_H_ */\r