diff options
Diffstat (limited to 'src/powermap.h')
-rw-r--r-- | src/powermap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/powermap.h b/src/powermap.h index aa4cbfc..29a3c81 100644 --- a/src/powermap.h +++ b/src/powermap.h @@ -67,4 +67,7 @@ private: bool spline_needs_update; void updateSpline(); + Power clamp(Power in, Power min, Power max) const; + + const Power eps = 1e-3; }; |