mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-15 22:04:45 +02:00
16 lines
314 B
C++
16 lines
314 B
C++
#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 { return 1; }
|
|
};
|
|
|
|
}
|