summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-30 17:41:59 +0100
committermadmaxoft <github@xoft.cz>2013-12-30 17:41:59 +0100
commitee15d4e08e90536afbb381a6d65a418e0027658d (patch)
tree6ac904913525ac4339d05693f4da6aa12cc8ef9e /src/Entities
parentconverted commneted paramater names to the unused macro (diff)
downloadcuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar.gz
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar.bz2
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar.lz
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar.xz
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.tar.zst
cuberite-ee15d4e08e90536afbb381a6d65a418e0027658d.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Entity.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 3634f087c..2ba1b303d 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -424,11 +424,13 @@ protected:
void Dereference( cEntity*& a_EntityPtr );
private:
- // Measured in degrees (MAX 360 degrees)
+ // Measured in degrees, [-180, +180)
double m_HeadYaw;
+
// Measured in meter/second (m/s)
Vector3d m_Speed;
- // Measured in degrees (MAX 360 degrees)
+
+ // Measured in degrees, [-180, +180)
Vector3d m_Rot;
/// Position of the entity's XZ center and Y bottom