Blame view

build3/apps/sequence/graph/go_to_parameter_controller.cpp 341 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
  #include "go_to_parameter_controller.h"
  #include "../app.h"
  #include <assert.h>
  #include <cmath>
  
  namespace Sequence {
  
  bool GoToParameterController::setParameterAtIndex(int parameterIndex, double f) {
    assert(parameterIndex == 0);
    return Shared::FunctionGoToParameterController::setParameterAtIndex(parameterIndex, std::round(f));
  }
  
  }