mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-12-22 18:59:48 +01:00
jfk
This commit is contained in:
parent
adc2233e17
commit
6e300332bf
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ int main(int argc, char** argv, char** envp) {
|
||||||
Mat3x3 jeremy = Mat3x3::outputProjection({1920, 1080}, HYPRUTILS_TRANSFORM_FLIPPED_90);
|
Mat3x3 jeremy = Mat3x3::outputProjection({1920, 1080}, HYPRUTILS_TRANSFORM_FLIPPED_90);
|
||||||
Mat3x3 matrixBox = jeremy.projectBox(CBox{10, 10, 200, 200}, HYPRUTILS_TRANSFORM_NORMAL).translate({100, 100}).scale({1.25F, 1.5F}).transpose();
|
Mat3x3 matrixBox = jeremy.projectBox(CBox{10, 10, 200, 200}, HYPRUTILS_TRANSFORM_NORMAL).translate({100, 100}).scale({1.25F, 1.5F}).transpose();
|
||||||
|
|
||||||
Mat3x3 expected = std::array<float, 9>{0, -0.46296296, 0, 0.3125, 0, 0, -169.16667, 172.96297, 1};
|
Mat3x3 expected = std::array<float, 9>{0, 0.46296296, 0, 0.3125, 0, 0, 19.84375, 36.055557, 1};
|
||||||
EXPECT(matrixBox, expected);
|
EXPECT(matrixBox, expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue