You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Keyframe: Get rid of vector aliases, Coord ctor
This commit is contained in:
@@ -128,13 +128,6 @@ Keyframe::Keyframe(double value) {
|
||||
// Constructor which takes a vector of Points
|
||||
Keyframe::Keyframe(const std::vector<openshot::Point>& points) : Points(points) {};
|
||||
|
||||
// Constructor which takes a vector of std::pair tuples (and adds them all)
|
||||
Keyframe::Keyframe(const std::vector<openshot::Coordinate>& coordinates) {
|
||||
for (const auto& co : coordinates) {
|
||||
AddPoint(Point(co));
|
||||
}
|
||||
}
|
||||
|
||||
// Add a new point on the key-frame. Each point has a primary coordinate,
|
||||
// a left handle, and a right handle.
|
||||
void Keyframe::AddPoint(Point p) {
|
||||
|
||||
Reference in New Issue
Block a user