diff options
| author | JacobPalecki <[email protected]> | 2021-01-20 20:13:33 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-20 20:13:33 -0800 |
| commit | 5b6479013c8f35df933dd57c680063f4db1e4028 (patch) | |
| tree | 60dd7c67a0f163457da2519b42553382a39a591b /common/accel-base.hpp | |
| parent | show custom dialog on bad input (#63) (diff) | |
| parent | Guard against bad anisotropy args (diff) | |
| download | rawaccel-5b6479013c8f35df933dd57c680063f4db1e4028.tar.xz rawaccel-5b6479013c8f35df933dd57c680063f4db1e4028.zip | |
Merge pull request #65 from JacobPalecki/Directional
Directionality Features + Graph Fidelity
Diffstat (limited to 'common/accel-base.hpp')
| -rw-r--r-- | common/accel-base.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/accel-base.hpp b/common/accel-base.hpp index b15d695..42b3bb1 100644 --- a/common/accel-base.hpp +++ b/common/accel-base.hpp @@ -17,6 +17,11 @@ namespace rawaccel { double speed_cap = 0; }; + struct domain_args { + vec2d domain_weights = { 1, 1 }; + double lp_norm = 2; + }; + template <typename Func> struct accel_val_base { bool legacy_offset = false; |