2 Physics Effects Copyright(C) 2010 Sony Computer Entertainment Inc.
\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
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
13 A copy of the BSD License is distributed with
\r
14 Physics Effects under the filename: physics_effects_license.txt
\r
17 #ifndef _SCE_PFX_DETECT_COLLISION_FUNC_H
\r
18 #define _SCE_PFX_DETECT_COLLISION_FUNC_H
\r
20 #include "../../base_level/collision/pfx_contact_cache.h"
\r
23 namespace PhysicsEffects {
\r
25 typedef void (*pfx_detect_collision_func)(
\r
26 PfxContactCache &contacts,
\r
27 const PfxShape & shapeA,const PfxTransform3 &offsetTransformA,const PfxTransform3 &worldTransformA,int shapeIdA,
\r
28 const PfxShape & shapeB,const PfxTransform3 &offsetTransformB,const PfxTransform3 &worldTransformB,int shapeIdB,
\r
29 float contactThreshold);
\r
31 pfx_detect_collision_func pfxGetDetectCollisionFunc(PfxUInt8 shapeTypeA,PfxUInt8 shapeTypeB);
\r
33 int pfxSetDetectCollisionFunc(PfxUInt8 shapeTypeA,PfxUInt8 shapeTypeB,pfx_detect_collision_func func);
\r
35 } //namespace PhysicsEffects
\r
37 #endif // _SCE_PFX_DETECT_COLLISION_FUNC_H
\r