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:
parent
04c7d84b2e
commit
4dc374c367
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue