mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 08:09:49 +01:00
bezier: Remove Todo about N-Point bezier curves. (#3352)
This commit is contained in:
parent
af15b15b4b
commit
b0a82c04df
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue