diff options
Diffstat (limited to 'src/helpers/math/Math.hpp')
| -rw-r--r-- | src/helpers/math/Math.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/helpers/math/Math.hpp b/src/helpers/math/Math.hpp new file mode 100644 index 00000000..4aa65c93 --- /dev/null +++ b/src/helpers/math/Math.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include <wayland-server-protocol.h> + +// includes box and vector as well +#include <hyprutils/math/Region.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]); |
