Algorithms

Here we have demos implementing some algorithm.

SAT

Showcase of the Separating Axis Theorem (or hyperplane separation theorem).

The code can be seen here in the function sat.

Raycast ground detection

Ideas for implementing ground and slope detection using raycasts.

The code can be seen here in the function demoDetectGround.