mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
Mouse::SetX/Y fixes
This commit is contained in:
@@ -9,10 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- `Model.Draw()`
|
||||
- `Model.DrawWires()`
|
||||
- `models_first_person_maze.cpp` example
|
||||
- Error correction when unloading images, materials, models and meshes
|
||||
- String override functions to use `std::string` directly instead of `const char*`
|
||||
- `std::vector<std::string>` wrapper for `GetDirectoryFiles()` and `GetDroppedFiles()`
|
||||
|
||||
### Fixed
|
||||
- `Mouse::SetX()` and `Mouse::SetY()`
|
||||
- Error correction when unloading images, materials, models and meshes
|
||||
|
||||
## [v3.5.0-alpha1] - 2020-12-26
|
||||
### Changed
|
||||
- Update to raylib 3.5.0
|
||||
|
||||
@@ -57,12 +57,12 @@ class Mouse {
|
||||
}
|
||||
|
||||
inline Mouse& SetX(int x) {
|
||||
::SetMouseOffset(x, GetY());
|
||||
::SetMousePosition(x, GetY());
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline Mouse& SetY(int y) {
|
||||
::SetMouseOffset(GetX(), y);
|
||||
::SetMousePosition(GetX(), y);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user