diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 01:16:31 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 01:16:31 +0200 |
commit | 6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2 (patch) | |
tree | b5e4823137a4cc5ffe0ace4cbad22ee272e9bb7c /src/render/Sprite.h | |
parent | Merge pull request #1 from GTAmodding/miami (diff) | |
download | re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.gz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.bz2 re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.lz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.xz re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.zst re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Sprite.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/Sprite.h b/src/render/Sprite.h index ec4c1d1b..fae6684e 100644 --- a/src/render/Sprite.h +++ b/src/render/Sprite.h @@ -7,6 +7,9 @@ class CSprite static float m_fRecipNearClipPlane; static int32 m_bFlushSpriteBufferSwitchZTest; public: + static float GetNearScreenZ(void) { return m_f2DNearScreenZ; } + static float GetFarScreenZ(void) { return m_f2DFarScreenZ; } + static float CalcHorizonCoors(void); static bool CalcScreenCoors(const RwV3d &in, RwV3d *out, float *outw, float *outh, bool farclip); static void InitSpriteBuffer(void); |