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:
parent
80d23900de
commit
693223552d
5 changed files with 16 additions and 91 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue