diff options
| author | a1xd <[email protected]> | 2020-07-31 01:37:41 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-07-31 01:37:41 -0400 |
| commit | b3ed8fd4e4fcad0b749126dee62588260d74b106 (patch) | |
| tree | 5a2621096e038f29ca64f8cfac5f452a85f15056 /common/accel-linear.hpp | |
| parent | Make weight a member of accel_base (diff) | |
| download | rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.tar.xz rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.zip | |
add more tweaks for st-refactor
Diffstat (limited to 'common/accel-linear.hpp')
| -rw-r--r-- | common/accel-linear.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/common/accel-linear.hpp b/common/accel-linear.hpp index 28150a8..5cbb7c6 100644 --- a/common/accel-linear.hpp +++ b/common/accel-linear.hpp @@ -5,14 +5,10 @@ namespace rawaccel { /// <summary> Struct to hold linear acceleration implementation. </summary> - struct accel_linear : accel_base { + struct accel_linear : accel_base { - accel_linear(accel_args args) : accel_base(args) {} + using accel_base::accel_base; - inline double accelerate(double speed) const { - //f(x) = mx - return speed_coeff * speed; - } }; } |