1
0
Fork 0
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:
fgenesis 2022-05-07 02:47:59 +02:00
parent ce4ca7f794
commit e357a22784
3 changed files with 52 additions and 2 deletions

View file

@ -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)

View file

@ -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; }