mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Add ability to reshape analog sticks from square/circle to octagon and make the analog stick mapping indicator pretty.
This commit is contained in:
parent
bfb9b1aca5
commit
ceb28a2302
18 changed files with 331 additions and 144 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue