diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-08-15 03:43:00 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-08-15 03:43:00 +0200 |
commit | 6093d855b067841ea4c51b14ece7544f57d76f2b (patch) | |
tree | 01c0f232a678e6afb9ef9b46ad97e47769d0c9bb /src/render/Particle.h | |
parent | sampman cosmetic fix (diff) | |
download | re3-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.h | 2 |
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(); |