branch for cuboid

Unwrapper_2pi.h

Committer:
altb2
Date:
2019-11-22
Revision:
3:b23f59513a90
Parent:
0:72b60c5271cc

File content as of revision 3:b23f59513a90:

/*  
*/

using namespace std;

class Unwrapper_2pi
{
public:

    Unwrapper_2pi(void);
    
    float operator()(float in) {
        return doStep(in);
    }
    
    virtual     ~Unwrapper_2pi();
    
    void        reset(void);
    float       doStep(float inc);

private:

    long turns;
    float last_value;

};