Skip to content

Commit

Permalink
animation: fix no vars outside of namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
PaideiaDilemma committed Dec 27, 2024
1 parent f5188fb commit 4984b5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/hyprutils/animation/BezierCurve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

#include "../math/Vector2D.hpp"

constexpr int BAKEDPOINTS = 255;
constexpr float INVBAKEDPOINTS = 1.f / BAKEDPOINTS;

namespace Hyprutils {
namespace Animation {
constexpr int BAKEDPOINTS = 255;
constexpr float INVBAKEDPOINTS = 1.f / BAKEDPOINTS;

/* An implementation of a cubic bezier curve. */
class CBezierCurve {
Expand Down

0 comments on commit 4984b5a

Please sign in to comment.