mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
another temp commit
This commit is contained in:
parent
ce4ca7f794
commit
e357a22784
3 changed files with 52 additions and 2 deletions
|
@ -8,6 +8,7 @@ QuadGrid::QuadGrid(size_t w, size_t h)
|
|||
{
|
||||
addType(SCO_QUAD_GRID);
|
||||
_points.resize((w+1) * (h+1));
|
||||
resetUV();
|
||||
}
|
||||
|
||||
QuadGrid* QuadGrid::New(size_t w, size_t h)
|
||||
|
|
|
@ -46,6 +46,7 @@ public:
|
|||
virtual void onUpdate(float dt);
|
||||
|
||||
void resetUV(float xmul = 1, float ymul = 1);
|
||||
void resetPos(float xmul = 1, float ymul = 1);
|
||||
|
||||
inline size_t quadsX() const { return _w; }
|
||||
inline size_t quadsY() const { return _h; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue