1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 15:19:50 +00:00

remove Quad::createStrip(), related members, and cleanup Bone strip handling

Saves some work when rendering EVERY SINGLE QUAD in the game
This commit is contained in:
fgenesis 2022-05-21 17:31:50 +02:00
parent 80d23900de
commit 693223552d
5 changed files with 16 additions and 91 deletions

View file

@ -62,10 +62,7 @@ public:
void repeatTextureToFill(bool on);
void refreshRepeatTextureToFill();
bool isRepeatingTextureToFill() const { return repeatTexture; }
void setGridPoints(bool vert, const std::vector<Vector> &points);
virtual void createStrip(bool stripVert, int num);
float getStripSegmentSize() const;
void resetStrip();
void setGridPoints(bool vert, const std::vector<Vector>& points);
Vector ** getDrawGrid() { return drawGrid; }
void reloadDevice();
@ -88,8 +85,6 @@ public:
bool renderQuad, renderCenter;
mutable bool renderBorder; // TODO: should be part of render state
bool stripVert;
std::vector<Vector>strip;
Vector texOff;
float borderAlpha;