Examples of GjkEpaPenetrationDepthSolver


Examples of com.bulletphysics.collision.narrowphase.GjkEpaPenetrationDepthSolver

  public DefaultCollisionConfiguration() {
    simplexSolver = new VoronoiSimplexSolver();
 
    //#define USE_EPA 1
    //#ifdef USE_EPA
    pdSolver = new GjkEpaPenetrationDepthSolver();
    //#else
    //pdSolver = new MinkowskiPenetrationDepthSolver();
    //#endif//USE_EPA 

    /*
 
View Full Code Here

Examples of com.bulletphysics.collision.narrowphase.GjkEpaPenetrationDepthSolver

      castResult.allowedPenetration = allowedPenetration;
      castResult.fraction = 1f; // ??

      ConvexShape convexShape = (ConvexShape) collisionShape;
      VoronoiSimplexSolver simplexSolver = new VoronoiSimplexSolver();
      GjkEpaPenetrationDepthSolver gjkEpaPenetrationSolver = new GjkEpaPenetrationDepthSolver();

      // JAVA TODO: should be convexCaster1
      //ContinuousConvexCollision convexCaster1(castShape,convexShape,&simplexSolver,&gjkEpaPenetrationSolver);
      GjkConvexCast convexCaster2 = new GjkConvexCast(castShape, convexShape, simplexSolver);
      //btSubsimplexConvexCast convexCaster3(castShape,convexShape,&simplexSolver);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.