diff --git a/include/KeyFrame.h b/include/KeyFrame.h index 14f519a1..bfd2ee20 100644 --- a/include/KeyFrame.h +++ b/include/KeyFrame.h @@ -98,7 +98,7 @@ namespace openshot { /// Default constructor for the Keyframe class Keyframe(); - /// Constructor which sets the default point & coordinate at X=0 + /// Constructor which sets the default point & coordinate at X=1 Keyframe(double value); /// Add a new point on the key-frame. Each point has a primary coordinate, a left handle, and a right handle. diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp index 37e005d9..5250b006 100644 --- a/src/KeyFrame.cpp +++ b/src/KeyFrame.cpp @@ -55,7 +55,7 @@ void Keyframe::ReorderPoints() { } } -// Constructor which sets the default point & coordinate at X=0 +// Constructor which sets the default point & coordinate at X=1 Keyframe::Keyframe(double value) : needs_update(true) { // Init the factorial table, needed by bezier curves CreateFactorialTable(); diff --git a/src/Point.cpp b/src/Point.cpp index 72eedebc..ab3f5432 100644 --- a/src/Point.cpp +++ b/src/Point.cpp @@ -33,7 +33,7 @@ using namespace std; using namespace openshot; -// Default constructor (defaults to 0,0) +// Default constructor (defaults to 1,0) Point::Point() : interpolation(BEZIER), handle_type(AUTO) { // set new coorinate @@ -43,7 +43,7 @@ Point::Point() : interpolation(BEZIER), handle_type(AUTO) Initialize_Handles(); } -// Constructor which creates a single coordinate at X=0 +// Constructor which creates a single coordinate at X=1 Point::Point(float y) : interpolation(CONSTANT), handle_type(AUTO) { // set new coorinate