Tatooine
Namespaces | Functions
separating_axis_theorem.h File Reference

Go to the source code of this file.

Namespaces

namespace  tatooine
 

Functions

template<typename Real >
auto tatooine::is_separating_axis (vec< Real, 2 > const &n, std::vector< vec< Real, 2 > > const &polygon0, std::vector< vec< Real, 2 > > const &polygon1)
 Return true if n is a separating axis of polygon0 and polygon1. More...
 
template<typename Real >
auto tatooine::has_separating_axis (std::vector< vec< Real, 2 > > const &polygon0, std::vector< vec< Real, 2 > > const &polygon1) -> bool