From 61bc963e92964af4d92a0e8a8d1ff5e2520836c3 Mon Sep 17 00:00:00 2001 From: Patric Dexheimer Date: Wed, 17 Nov 2021 19:03:01 -0300 Subject: [PATCH] GetMouseDelta --- vendor/raylib/raylib.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/raylib/raylib.odin b/vendor/raylib/raylib.odin index 0c4dc6365..fb4d7dd92 100644 --- a/vendor/raylib/raylib.odin +++ b/vendor/raylib/raylib.odin @@ -1077,6 +1077,7 @@ foreign lib { GetMouseX :: proc() -> c.int --- // Returns mouse position X GetMouseY :: proc() -> c.int --- // Returns mouse position Y GetMousePosition :: proc() -> Vector2 --- // Returns mouse position XY + GetMouseDelta :: proc() -> Vector2 --- // Returns mouse delta XY SetMousePosition :: proc(x, y: c.int) --- // Set mouse position XY SetMouseOffset :: proc(offsetX, offsetY: c.int) --- // Set mouse offset SetMouseScale :: proc(scaleX, scaleY: f32) --- // Set mouse scaling @@ -1568,4 +1569,4 @@ MemAllocatorProc :: proc(allocator_data: rawptr, mode: mem.Allocator_Mode, return nil, .Mode_Not_Implemented } return nil, .Mode_Not_Implemented -} \ No newline at end of file +}