Major refactoring: State, mouse and more...

This commit is contained in:
Sebastian
2024-11-14 00:55:09 +01:00
parent 300001d385
commit 5d3b72d4ef
15 changed files with 243 additions and 207 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ namespace VISEQ::BASE {
virtual void drag() override {
Vec2Df mp = {GetMousePosition().x, GetMousePosition().y};
DrawLineV(position, mp, (Color){229, 181, 103, 255});
DrawLineV(position, state->mod_mouse, (Color){229, 181, 103, 255});
}
void update() override{