mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
eliminate one gigantic global float->uint->float roundtrip cast
whyyyy
This commit is contained in:
parent
58e9ba340e
commit
cc1530b5e5
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ public:
|
|||
void setWidthHeight(float w, float h=-1);
|
||||
void setWidth(float w);
|
||||
void setHeight(float h);
|
||||
unsigned int getWidth() const {return static_cast<unsigned int>(width);}
|
||||
unsigned int getHeight() const {return static_cast<unsigned int>(height);}
|
||||
float getWidth() const {return width;}
|
||||
float getHeight() const {return height;}
|
||||
|
||||
void setSegs(int x, int y, float dgox, float dgoy, float dgmx, float dgmy, float dgtm, bool dgo);
|
||||
void setDrawGridAlpha(size_t x, size_t y, float alpha);
|
||||
|
|
Loading…
Reference in a new issue