diff options
| author | a1xd <[email protected]> | 2021-09-03 18:09:00 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-03 18:09:00 -0400 |
| commit | d12c000ae2c6937ae5d4b43fa6dde18490756cf8 (patch) | |
| tree | 0be0683b5132e6c5ade5dc7d3e5981cd7e9cb353 /common/accel-jump.hpp | |
| parent | add per-device configuration (diff) | |
| download | rawaccel-d12c000ae2c6937ae5d4b43fa6dde18490756cf8.tar.xz rawaccel-d12c000ae2c6937ae5d4b43fa6dde18490756cf8.zip | |
refactor vec2/math
Diffstat (limited to 'common/accel-jump.hpp')
| -rw-r--r-- | common/accel-jump.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/accel-jump.hpp b/common/accel-jump.hpp index c036810..e3d798e 100644 --- a/common/accel-jump.hpp +++ b/common/accel-jump.hpp @@ -2,12 +2,10 @@ #include "rawaccel-base.hpp" -#include <math.h> - namespace rawaccel { struct jump_base { - static constexpr double smooth_scale = 2 * PI; + static constexpr double smooth_scale = 2 * M_PI; vec2d step; double smooth_rate; |