summaryrefslogtreecommitdiff
path: root/src/helpers/math/Math.hpp
blob: 4aa65c939a84a3db9b366e37642461edfffa0e75 (plain)
1
2
3
4
5
6
7
8
9
10
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]);