to the rest of the Bullet code base. This code will replace the original GJK/EPA in a future commit. Added btMprPenetration, an implementation of Minkowski Portal Refinement by Daniel Fiser. Original MPR idea is by Gary Snethen, and the first implementation is here: https://github.com/erwincoumans/xenocollide It is an alternative to EPA, although computing the local penetration depth. EPA computes the global penetration depth. In many cases, MPR is sufficient and performs better than EPA.
36 lines
978 B
Lua
36 lines
978 B
Lua
|
|
project "test_bullet_collision"
|
|
|
|
kind "ConsoleApp"
|
|
|
|
-- defines { }
|
|
|
|
-- targetdir "../../bin"
|
|
|
|
includedirs
|
|
{
|
|
".",
|
|
"../../src",
|
|
"../gtest-1.7.0/include"
|
|
|
|
}
|
|
|
|
links {"LinearMath", "gtest"}
|
|
|
|
files {
|
|
"**.cpp",
|
|
"**.h",
|
|
"../../src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp",
|
|
"../../src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h",
|
|
|
|
-- the *Shape.* files are not strictly necessary if you provide your own 'support' function
|
|
"../../src/BulletCollision/CollisionShapes/btSphereShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btMultiSphereShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btCollisionShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp",
|
|
|
|
}
|