Skip to content

Commit

Permalink
Add Clip class with setTimeTransforms method to Clip.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SohamTilekar committed Apr 8, 2024
1 parent 2c19d3b commit 0ef00d7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _c_vidiopy/_cpp/Clip.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include "vidiopy.hpp"

class Clip
{
public:
double start;
double end;
double duration;
double fps;
std::string name;
void setTimeTransforms(std::function<PositionBundle(double)> func)
{
timeTransforms.push_back(func);
};

private:
std::vector<std::function<PositionBundle(double)>> timeTransforms;
};

0 comments on commit 0ef00d7

Please sign in to comment.