Commit graph

14 commits

Author SHA1 Message Date
1aabd346eb fix: don't crash if refreshrate decreases
fixes #76
2025-05-08 20:28:38 +02:00
c84a0dc705 fix: update variable names to match hl
997fefbc11
2025-05-06 10:57:22 +02:00
dbef8c6fb6 fix: update variable names to match hl
50e1bec85f
2025-05-01 12:45:53 +02:00
Sewer.
2e7ea0224d
fix: guard against divide by 0 in effects (#68) 2025-03-29 19:09:29 +01:00
e26501d84d fix: cleanup includes 2025-01-18 22:40:48 +01:00
3ff4c2a053 fix: reset mode if it has changed
fixes #25
2024-10-10 13:04:46 +02:00
55e8b316ce fix: ignore warps on modes and shake 2024-08-25 22:58:55 +02:00
ee5f66775a fix: show cursor in certain rotate edge cases
this fixes another NaN caused in cases where the `end` vector of the
rotate mode is at y = 0. this might be caused by various factors,
notably again when the cursor starts at 0;0

thanks again @RGBCube
2024-07-11 16:53:06 +02:00
527804e49c fix: div by zero on rotate if cursor starts at 0;0
when the plugin is loaded whilst the cursor pos is at 0;0, the `end`
vector is being normalized allthough it will contain 0;0. this will
produce a division by zero, causing the rotation to be set to NaN,
ultimately causing the cursor not to render because of a NaN'd
projection matrix

thanks for reporting and testing @RGBCube
2024-07-10 15:16:17 +02:00
9fd1b6a1c2 feat: implemented shaperules 2024-07-03 00:38:50 +02:00
f2793f3bd3 fix: shake enabling compatible with nix
close #7
2024-07-02 16:53:52 +02:00
5fee8c5545 feat: stretch mode 2024-07-02 15:35:37 +02:00
bbe4709926 feat: rotate mode angle offset
close #4
2024-06-29 11:06:52 +02:00
fa7cab8717 chore: more abstraction and other refactors 2024-06-28 14:08:13 +02:00