~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to extern/bullet/Bullet/NarrowPhaseCollision/MinkowskiPenetrationDepthSolver.h

Tags: upstream-2.40
ImportĀ upstreamĀ versionĀ 2.40

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef MINKOWSKI_PENETRATION_DEPTH_SOLVER_H
 
3
#define MINKOWSKI_PENETRATION_DEPTH_SOLVER_H
 
4
 
 
5
#include "ConvexPenetrationDepthSolver.h"
 
6
 
 
7
///MinkowskiPenetrationDepthSolver implements bruteforce penetration depth estimation.
 
8
///Implementation is based on sampling the depth using support mapping, and using GJK step to get the witness points.
 
9
class MinkowskiPenetrationDepthSolver : public ConvexPenetrationDepthSolver
 
10
{
 
11
public:
 
12
 
 
13
        virtual bool CalcPenDepth( SimplexSolverInterface& simplexSolver,
 
14
        ConvexShape* convexA,ConvexShape* convexB,
 
15
                                const SimdTransform& transA,const SimdTransform& transB,
 
16
                        SimdVector3& v, SimdPoint3& pa, SimdPoint3& pb);
 
17
 
 
18
};
 
19
 
 
20
#endif //MINKOWSKI_PENETRATION_DEPTH_SOLVER_H
 
 
b'\\ No newline at end of file'