1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

forgot to make a method const

This commit is contained in:
fgenesis 2023-11-17 01:39:46 +01:00
parent 04c7d84b2e
commit 4dc374c367
2 changed files with 2 additions and 2 deletions

View file

@ -1287,7 +1287,7 @@ Vector Core::pixelPosToVirtualCoords(int x, int y) const
); );
} }
void Core::virtualCoordsToPixelPos(int& x, int& y, const Vector& p) void Core::virtualCoordsToPixelPos(int& x, int& y, const Vector& p) const
{ {
const float px = p.x + getVirtualOffX(); const float px = p.x + getVirtualOffX();
const float py = p.y; const float py = p.y;

View file

@ -234,7 +234,7 @@ public:
void setMousePosition(const Vector &p); void setMousePosition(const Vector &p);
Vector pixelPosToVirtualCoords(int x, int y) const; Vector pixelPosToVirtualCoords(int x, int y) const;
void virtualCoordsToPixelPos(int& x, int& y, const Vector& p); void virtualCoordsToPixelPos(int& x, int& y, const Vector& p) const;
void setFullscreen(bool full); void setFullscreen(bool full);