~kulthauskante/nsynth/devel

« back to all changes in this revision

Viewing changes to Tangibles/Controller/Linear/Base/LinearController.cpp

  • Committer: Karsten Krispin
  • Date: 2010-06-26 22:26:16 UTC
  • Revision ID: karsten@nonlimited.org-20100626222616-nl620che76t3zmn2
* added oscillator to Metronome, so that it has real phase now
* added visualisation of Metronome to SystemSink

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        
112
112
        return -this->getHeadingToPoint(this->GetMainSinkPosition());
113
113
}
 
114
 
 
115
qreal LinearController::__tangibleRotationBase(qreal currentRotation)
 
116
{
 
117
//      qreal base = 0.5 - currentRotation;
 
118
//      if(base > 1.0)
 
119
//              base -= 1.0;
 
120
//      return base;
 
121
        return 0.0;
 
122
}