summaryrefslogtreecommitdiffstats
path: root/src/render/Particle.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-08-15 03:43:00 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-08-15 03:43:00 +0200
commit6093d855b067841ea4c51b14ece7544f57d76f2b (patch)
tree01c0f232a678e6afb9ef9b46ad97e47769d0c9bb /src/render/Particle.h
parentsampman cosmetic fix (diff)
downloadre3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.gz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.bz2
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.lz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.xz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.zst
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.zip
Diffstat (limited to '')
-rw-r--r--src/render/Particle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Particle.h b/src/render/Particle.h
index eaacf2f5..4e41ea2d 100644
--- a/src/render/Particle.h
+++ b/src/render/Particle.h
@@ -60,6 +60,8 @@ public:
static float (&m_SinTable)[SIN_COS_TABLE_SIZE];
static float (&m_CosTable)[SIN_COS_TABLE_SIZE];
+ static float Sin(int32 value) { return m_SinTable[value]; }
+ static float Cos(int32 value) { return m_CosTable[value]; }
static void ReloadConfig();
static void Initialise();