summaryrefslogtreecommitdiff
path: root/common/accel-noaccel.hpp
blob: b307d99a829af7da5d8ea8ae086cdd9ef537b868 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "rawaccel-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;

		double operator()(double, const accel_args&) const { return 1; }
	};

}