Skip to content

C++ implementation of the GJK algorithm for convex polygon collision detection.

Notifications You must be signed in to change notification settings

albertnadal/GJKCollisionDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified C++11 implementation of the GJK algorithm for convex polygon collision detection.

Two-component vector and 2x2 matrix operations are simplified partial code from the OpenGL Mathematics (GLM) implementation. No third-party dependencies are needed.

References

https://github.com/Discordia/gjk-epa
https://glm.g-truc.net

Build

make
./main

Shapes used in the sample code

Visualization

About

C++ implementation of the GJK algorithm for convex polygon collision detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published