File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,8 +133,11 @@ public enum CurveType : uint
133133 /// <summary>
134134 /// Creates a smooth progression between points using catmull-rom interpolation.
135135 /// </summary>
136- Smooth = 1
137- // TODO: What about bezier?
136+ Smooth = 1 ,
137+ /// <summary>
138+ /// Creates a curved progression by using points as the control points of a 2D Bézier curve.
139+ /// </summary>
140+ Bezier = 2
138141 }
139142
140143 /// <inheritdoc />
@@ -146,7 +149,7 @@ public enum CurveType : uint
146149 public CurveType Curve { get ; set ; }
147150
148151 /// <summary>
149- /// TODO: document this
152+ /// The amount of resolution generated between control points in both Catmull-Rom (smooth) and Bezier interpolation.
150153 /// </summary>
151154 public uint Iterations { get ; set ; }
152155
@@ -292,4 +295,4 @@ public void Unserialize(UndertaleReader reader)
292295 }
293296 }
294297 }
295- }
298+ }
You can’t perform that action at this time.
0 commit comments