Skip to content

Commit 1208a10

Browse files
authored
Merge pull request #358 from SuslikV/patch-4
Clarify some comments
2 parents de1327c + 87c06fe commit 1208a10

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/KeyFrame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ namespace openshot {
9898
/// Default constructor for the Keyframe class
9999
Keyframe();
100100

101-
/// Constructor which sets the default point & coordinate at X=0
101+
/// Constructor which sets the default point & coordinate at X=1
102102
Keyframe(double value);
103103

104104
/// Add a new point on the key-frame. Each point has a primary coordinate, a left handle, and a right handle.

src/KeyFrame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void Keyframe::ReorderPoints() {
5555
}
5656
}
5757

58-
// Constructor which sets the default point & coordinate at X=0
58+
// Constructor which sets the default point & coordinate at X=1
5959
Keyframe::Keyframe(double value) : needs_update(true) {
6060
// Init the factorial table, needed by bezier curves
6161
CreateFactorialTable();

src/Point.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
using namespace std;
3434
using namespace openshot;
3535

36-
// Default constructor (defaults to 0,0)
36+
// Default constructor (defaults to 1,0)
3737
Point::Point() : interpolation(BEZIER), handle_type(AUTO)
3838
{
3939
// set new coorinate
@@ -43,7 +43,7 @@ Point::Point() : interpolation(BEZIER), handle_type(AUTO)
4343
Initialize_Handles();
4444
}
4545

46-
// Constructor which creates a single coordinate at X=0
46+
// Constructor which creates a single coordinate at X=1
4747
Point::Point(float y) :
4848
interpolation(CONSTANT), handle_type(AUTO) {
4949
// set new coorinate

0 commit comments

Comments
 (0)