mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix weird linker problem
This commit is contained in:
parent
b17ff0e5af
commit
d876834561
1 changed files with 10 additions and 10 deletions
|
@ -79,6 +79,13 @@ public:
|
|||
virtual void Draw(UIContext &dc, double t, float alpha, float x, float y, float z) = 0;
|
||||
};
|
||||
|
||||
static constexpr float XFAC = 0.3f;
|
||||
static constexpr float YFAC = 0.3f;
|
||||
static constexpr float ZFAC = 0.12f;
|
||||
static constexpr float XSPEED = 0.05f;
|
||||
static constexpr float YSPEED = 0.05f;
|
||||
static constexpr float ZSPEED = 0.1f;
|
||||
|
||||
class MovingBackground : public Animation {
|
||||
public:
|
||||
void Draw(UIContext &dc, double t, float alpha, float x, float y, float z) override {
|
||||
|
@ -109,16 +116,9 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
static constexpr float XFAC = 0.3f;
|
||||
static constexpr float YFAC = 0.3f;
|
||||
static constexpr float ZFAC = 0.12f;
|
||||
static constexpr float XSPEED = 0.05f;
|
||||
static constexpr float YSPEED = 0.05f;
|
||||
static constexpr float ZSPEED = 0.1f;
|
||||
|
||||
float lastX_ = 0.0f;
|
||||
float lastY_ = 0.0f;
|
||||
float lastZ_ = 1.0f + std::max(XFAC, YFAC);
|
||||
float lastX_ = 0.0f;
|
||||
float lastY_ = 0.0f;
|
||||
float lastZ_ = 1.0f + std::max(XFAC, YFAC);
|
||||
};
|
||||
|
||||
class WaveAnimation : public Animation {
|
||||
|
|
Loading…
Add table
Reference in a new issue