Files
vimix/Interpolator.h
Bruno c6d01c1420 Optimizing iteration
prefix ++i is faster than post i++
2021-04-18 11:38:03 +02:00

23 lines
300 B
C++

#ifndef INTERPOLATOR_H
#define INTERPOLATOR_H
#include "Source.h"
class Interpolator
{
public:
Interpolator(Source *subject, const SourceCore &target);
Source *subject_;
SourceCore from_;
SourceCore to_;
SourceCore current_;
float cursor_;
};
#endif // INTERPOLATOR_H