Skip to content
/ GJK Public

Attempt at a C++ implementation and demonstration of the Gilbert–Johnson–Keerthi distance algorithm.

Notifications You must be signed in to change notification settings

Foxar/GJK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GJK

Gilbert–Johnson–Keerthi distance algorithm is a method for determining whether two convex shapes intersect between each other, through usage of Minkowski's difference and 'support functions'.

This repository holds a rudimentary OpenGL renderer, as well as a simple implementation of the algorithm.

Dependancies

The project requires following dependancies:

  • freeglut3
  • glm
  • glew
  • glad
  • glfw

Installation

Warning: The project has been developed on Windows, without planned support for After installing the appropriate dependancies, modification to the makefile is necessary:

g++ $(OBJS) -IC:\mingw_dev_lib\glfw\include - Replace the path to your installation path of glfw, as well as other dependancies reference in the makefile.

Compiling

Run make inside the project folder

About

Attempt at a C++ implementation and demonstration of the Gilbert–Johnson–Keerthi distance algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published