Skip to content

Commit

Permalink
bezier: Remove Todo about N-Point bezier curves. (#3352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dickby authored Sep 17, 2023
1 parent af15b15 commit b0a82c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/helpers/BezierCurve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ constexpr float INVBAKEDPOINTS = 1.f / BAKEDPOINTS;

// an implementation of a cubic bezier curve
// might do better later
// TODO: n-point curves
class CBezierCurve {
public:
// sets up the bezier curve.
Expand All @@ -26,4 +25,4 @@ class CBezierCurve {
std::deque<Vector2D> m_dPoints;

std::array<Vector2D, BAKEDPOINTS> m_aPointsBaked;
};
};

0 comments on commit b0a82c0

Please sign in to comment.