summaryrefslogtreecommitdiffstats
path: root/src/math/math.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-01 17:35:04 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-01 17:35:04 +0200
commitabef04c6376cb45946ea363df20fbe6473a2252c (patch)
treedaa75bd4ac0ae3337b75b2484472139b77abf8a2 /src/math/math.cpp
parentDrawStandardMenus, VC menu array and minor fixes (diff)
parenthanim fix (diff)
downloadre3-abef04c6376cb45946ea363df20fbe6473a2252c.tar
re3-abef04c6376cb45946ea363df20fbe6473a2252c.tar.gz
re3-abef04c6376cb45946ea363df20fbe6473a2252c.tar.bz2
re3-abef04c6376cb45946ea363df20fbe6473a2252c.tar.lz
re3-abef04c6376cb45946ea363df20fbe6473a2252c.tar.xz
re3-abef04c6376cb45946ea363df20fbe6473a2252c.tar.zst
re3-abef04c6376cb45946ea363df20fbe6473a2252c.zip
Diffstat (limited to 'src/math/math.cpp')
-rw-r--r--src/math/math.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/math.cpp b/src/math/math.cpp
index e11d048c..e8b459ae 100644
--- a/src/math/math.cpp
+++ b/src/math/math.cpp
@@ -47,6 +47,12 @@ CMatrix::RotateX(float x)
}
void
+CMatrix::RotateY(float y)
+{
+ Rotate(0.0f, y, 0.0f);
+}
+
+void
CMatrix::RotateZ(float z)
{
Rotate(0.0f, 0.0f, z);