mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-20 00:23:22 +02:00
feat: rotate cursor around hotspot
This commit is contained in:
parent
204a79ebaf
commit
9a9830034c
9 changed files with 334 additions and 22 deletions
5
src/renderer.hpp
Normal file
5
src/renderer.hpp
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include <hyprland/src/render/OpenGL.hpp>
|
||||
#include <hyprland/src/helpers/math/Math.hpp>
|
||||
|
||||
void renderCursorTextureInternalWithDamage(SP<CTexture> tex, CBox* pBox, CRegion* damage, float alpha, Vector2D hotspot);
|
||||
void projectCursorBox(float mat[9], CBox& box, eTransform transform, float rotation, const float projection[9], Vector2D hotspot);
|
Loading…
Add table
Add a link
Reference in a new issue