mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 15:44:04 +00:00
3
vendor/raylib/raylib.odin
vendored
3
vendor/raylib/raylib.odin
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user