mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2172 d708f5d6-7413-0410-9779-e7cbd77b26cf
11 lines
244 B
C++
11 lines
244 B
C++
#include "bcf_surface.h"
|
|
|
|
#include <cmath>
|
|
|
|
using namespace Mackie;
|
|
|
|
float BcfSurface::scaled_delta( const ControlState & state, float current_speed )
|
|
{
|
|
return state.sign * ( std::pow( float(state.ticks + 1), 2 ) + current_speed ) / 100.0;
|
|
}
|
|
|