diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2024-09-25 10:01:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-25 10:01:13 +0100 |
| commit | 2320b2241c0713b8d81e8f467cb99bd4179ad23b (patch) | |
| tree | 36d090c3de4199fa8b15fd1b4596ec584fe743a1 /src/helpers/math/Math.hpp | |
| parent | 8f5188269b7d58a90c569fd150435b4330dff7df (diff) | |
Internal: move to Mat3x3 from hyprutils (#7902)
* Meson: require hyprutils >= 0.2.3
* flake.lock: update hyprutils
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'src/helpers/math/Math.hpp')
| -rw-r--r-- | src/helpers/math/Math.hpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/helpers/math/Math.hpp b/src/helpers/math/Math.hpp index f57cef93..9b73a20f 100644 --- a/src/helpers/math/Math.hpp +++ b/src/helpers/math/Math.hpp @@ -4,17 +4,9 @@ // includes box and vector as well #include <hyprutils/math/Region.hpp> +#include <hyprutils/math/Mat3x3.hpp> using namespace Hyprutils::Math; eTransform wlTransformToHyprutils(wl_output_transform t); -void projectBox(float mat[9], CBox& box, eTransform transform, float rotation, const float projection[9]); -void matrixProjection(float mat[9], int width, int height, eTransform transform); -void matrixTransform(float mat[9], eTransform transform); -void matrixRotate(float mat[9], float rad); -void matrixScale(float mat[9], float x, float y); -void matrixTranslate(float mat[9], float x, float y); -void matrixTranspose(float mat[9], const float a[9]); -void matrixMultiply(float mat[9], const float a[9], const float b[9]); -void matrixIdentity(float mat[9]); wl_output_transform invertTransform(wl_output_transform tr); |
