summaryrefslogtreecommitdiffstats
path: root/source/Entity.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 14:33:01 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-10 14:33:01 +0100
commit576f8589c03abe05fa71ce94ca6b93dee0ebcb07 (patch)
tree53b44ae62b4c2cdbc46a781a4ce7c8ed1e9d8dd4 /source/Entity.h
parentcBlockArea: Added empty NBT tags to schematic file saving for better compatibility. (diff)
downloadcuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar.gz
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar.bz2
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar.lz
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar.xz
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.tar.zst
cuberite-576f8589c03abe05fa71ce94ca6b93dee0ebcb07.zip
Diffstat (limited to '')
-rw-r--r--source/Entity.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/Entity.h b/source/Entity.h
index 8d8d2690b..2ed255cd0 100644
--- a/source/Entity.h
+++ b/source/Entity.h
@@ -97,15 +97,15 @@ public:
cWorld * GetWorld(void) const { return m_World; }
- const Vector3d & GetPosition(void) const {return m_Pos; }
- double GetPosX (void) const {return m_Pos.x; }
- double GetPosY (void) const {return m_Pos.y; }
- double GetPosZ (void) const {return m_Pos.z; }
- const Vector3f & GetRot (void) const {return m_Rot; }
- float GetRotation(void) const {return m_Rot.x; }
- float GetPitch (void) const {return m_Rot.y; }
- float GetRoll (void) const {return m_Rot.z; }
- Vector3f GetLookVector(void);
+ const Vector3d & GetPosition (void) const {return m_Pos; }
+ double GetPosX (void) const {return m_Pos.x; }
+ double GetPosY (void) const {return m_Pos.y; }
+ double GetPosZ (void) const {return m_Pos.z; }
+ const Vector3f & GetRot (void) const {return m_Rot; }
+ float GetRotation (void) const {return m_Rot.x; }
+ float GetPitch (void) const {return m_Rot.y; }
+ float GetRoll (void) const {return m_Rot.z; }
+ Vector3f GetLookVector(void) const;
int GetChunkX(void) const {return m_ChunkX; }
int GetChunkY(void) const {return m_ChunkY; }