mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-07 23:02:07 +00:00
Use glm for matrix math instead of the OpenGL stack
Should cause less GL pipeline stalling / driver spinlocking if enabled. Disable AQUARIA_USE_GLM (default: true) in CMake to use the old GL pipeline version. Based on the implementation by Matt Bierner: https://bitbucket.org/mattbierner/ios-aquaria
This commit is contained in:
parent
c4b531ed5e
commit
9faa503f32
5 changed files with 62 additions and 17 deletions
|
@ -93,7 +93,6 @@ public:
|
|||
bool setTexture(const std::string &name);
|
||||
|
||||
void toggleAlpha(float t = 0.2);
|
||||
void matrixChain();
|
||||
|
||||
virtual void update(float dt);
|
||||
bool isDead() const {return _dead;}
|
||||
|
@ -130,8 +129,8 @@ public:
|
|||
virtual void flipHorizontal();
|
||||
virtual void flipVertical();
|
||||
|
||||
bool isfh() { return _fh; }
|
||||
bool isfv() { return _fv; }
|
||||
bool isfh() const { return _fh; }
|
||||
bool isfv() const { return _fv; }
|
||||
|
||||
// recursive
|
||||
bool isfhr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue