summaryrefslogtreecommitdiff
path: root/common/accel-noaccel.hpp
blob: ae6f5f80afc465d58175eb4129a1241fe9c4b693 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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; }
		
	};

}