summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index 6687ca86e..e6fcf388a 100644
--- a/src/player.h
+++ b/src/player.h
@@ -188,16 +188,28 @@ public:
m_breath = breath;
}
- f32 getRadPitch()
+ // Deprecated
+ f32 getRadPitchDep()
{
return -1.0 * m_pitch * core::DEGTORAD;
}
- f32 getRadYaw()
+ // Deprecated
+ f32 getRadYawDep()
{
return (m_yaw + 90.) * core::DEGTORAD;
}
+ f32 getRadPitch()
+ {
+ return m_pitch * core::DEGTORAD;
+ }
+
+ f32 getRadYaw()
+ {
+ return m_yaw * core::DEGTORAD;
+ }
+
const char *getName() const
{
return m_name;