Add ability to reshape analog sticks from square/circle to octagon and make the analog stick mapping indicator pretty.

This commit is contained in:
Jordan Woyak
2018-12-18 20:06:16 -06:00
parent bfb9b1aca5
commit ceb28a2302
18 changed files with 331 additions and 144 deletions

View File

@ -17,6 +17,9 @@
namespace MathUtil
{
constexpr double TAU = 6.2831853071795865;
constexpr double PI = TAU / 2;
template <class T>
constexpr T Clamp(const T val, const T& min, const T& max)
{