From 46740bfcb27479a0013223db714239f8185f8243 Mon Sep 17 00:00:00 2001 From: Amy Wilder <74995093+AmityWilder@users.noreply.github.com> Date: Thu, 6 Mar 2025 16:20:35 -0500 Subject: [PATCH] Convert get_mouse_wheel_move_v return Related to #221 --- raylib/src/core/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raylib/src/core/input.rs b/raylib/src/core/input.rs index ee11c6bf..75f43869 100644 --- a/raylib/src/core/input.rs +++ b/raylib/src/core/input.rs @@ -241,8 +241,8 @@ impl RaylibHandle { /// Get mouse wheel movement for both X and Y #[inline] - pub fn get_mouse_wheel_move_v(&self) -> raylib_sys::Vector2 { - unsafe { ffi::GetMouseWheelMoveV() } + pub fn get_mouse_wheel_move_v(&self) -> Vector2 { + unsafe { ffi::GetMouseWheelMoveV().into() } } /// Returns touch position X for touch point 0 (relative to screen size).