summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-27 07:18:47 +0200
committerGitHub <noreply@github.com>2020-05-27 07:18:47 +0200
commitc06857019235f7483582cd8bbc8e63307de0bde6 (patch)
treef46b1801d031b59b97cf4365abf31ea831087dfd /src/render/Sprite.h
parentMerge pull request #601 from Sergeanur/VC/audio3 (diff)
parentfix linux build (diff)
downloadre3-c06857019235f7483582cd8bbc8e63307de0bde6.tar
re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.gz
re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.bz2
re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.lz
re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.xz
re3-c06857019235f7483582cd8bbc8e63307de0bde6.tar.zst
re3-c06857019235f7483582cd8bbc8e63307de0bde6.zip
Diffstat (limited to 'src/render/Sprite.h')
-rw-r--r--src/render/Sprite.h3
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);