You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added the initial timeline and clip classes, with some of the initial curves and constructors.
This commit is contained in:
@@ -33,6 +33,15 @@ void Keyframe::ReorderPoints() {
|
||||
}
|
||||
}
|
||||
|
||||
// Constructor which sets the default point & coordinate at X=0
|
||||
Keyframe::Keyframe(float value) : Auto_Handle_Percentage(0.4f) {
|
||||
// Init the factorial table, needed by bezier curves
|
||||
CreateFactorialTable();
|
||||
|
||||
// Add initial point
|
||||
AddPoint(Point(value));
|
||||
}
|
||||
|
||||
/// Keyframe constructor
|
||||
Keyframe::Keyframe() : Auto_Handle_Percentage(0.4f) {
|
||||
// Init the factorial table, needed by bezier curves
|
||||
|
||||
Reference in New Issue
Block a user