This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <nytl/vec.hpp> | |
#include <nytl/vecOps.hpp> | |
#include <vector> | |
#include <limits> | |
using Polygon = std::vector<nytl::Vec2f>; | |
/// Returns whether the two given convex polygons intersect using the | |
/// separating axis theorem. The given polygons can be in clockwise or |