blob: c803c2f64cf8f3ee65b1ce5ed56955e0e2db5873 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "accel-base.hpp"
namespace rawaccel {
/// <summary> Struct to hold acceleration implementation which applies no acceleration. </summary>
struct accel_noaccel {
accel_noaccel(const accel_args&) {}
accel_noaccel() = default;
inline double operator()(double) const { return 1; }
inline double legacy_offset(double speed) const { return operator()(speed); }
};
}
|