diff --git a/include/Mouse.hpp b/include/Mouse.hpp index b8fd19a..07bc3e6 100644 --- a/include/Mouse.hpp +++ b/include/Mouse.hpp @@ -55,7 +55,7 @@ namespace raylib { ::SetMouseScale(scaleX, scaleY); return *this; } - inline int GetWheelMove() { + inline float GetWheelMove() { return ::GetMouseWheelMove(); } inline int GetTouchX() { diff --git a/include/Vector2.hpp b/include/Vector2.hpp index 3cbef9e..1b5cc8d 100644 --- a/include/Vector2.hpp +++ b/include/Vector2.hpp @@ -176,6 +176,10 @@ namespace raylib { return Vector2Lerp(*this, vector2, amount); } + Vector2 Reflect(const Vector2& normal) { + return Vector2Reflect(*this, normal); + } + Vector2 Rotate(float degrees) { return Vector2Rotate(*this, degrees); } diff --git a/vendor/raylib b/vendor/raylib index 032b2db..fa357b8 160000 --- a/vendor/raylib +++ b/vendor/raylib @@ -1 +1 @@ -Subproject commit 032b2db3983836474bef3ee45e90967617146e49 +Subproject commit fa357b8d5d934f54dd1b3cd343b05f06b732d28f