mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-15 20:13:49 -07:00
bezier: Remove Todo about N-Point bezier curves. (#3352)
This commit is contained in:
@@ -10,7 +10,6 @@ constexpr float INVBAKEDPOINTS = 1.f / BAKEDPOINTS;
|
|||||||
|
|
||||||
// an implementation of a cubic bezier curve
|
// an implementation of a cubic bezier curve
|
||||||
// might do better later
|
// might do better later
|
||||||
// TODO: n-point curves
|
|
||||||
class CBezierCurve {
|
class CBezierCurve {
|
||||||
public:
|
public:
|
||||||
// sets up the bezier curve.
|
// sets up the bezier curve.
|
||||||
@@ -26,4 +25,4 @@ class CBezierCurve {
|
|||||||
std::deque<Vector2D> m_dPoints;
|
std::deque<Vector2D> m_dPoints;
|
||||||
|
|
||||||
std::array<Vector2D, BAKEDPOINTS> m_aPointsBaked;
|
std::array<Vector2D, BAKEDPOINTS> m_aPointsBaked;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user