| 801 | // Returns closest point on point to any shape (aka the original point) :P |
| 802 | template<typename T1, typename T2> |
| 803 | inline olc::v_2d<T1> closest(const olc::v_2d<T1>& p, [[maybe_unused]] const T2& anything_who_cares) |
| 804 | { |
| 805 | return p; |
| 806 | } |
| 807 | |
| 808 | // closest(l,p) |
| 809 | // Returns closest point on line to point |