X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FSituation.hpp;h=4d635f5e8ba223ba94225df3b2701ccd4767485c;hp=3c4a28a567ef4877b09ad68c94575c12545179cf;hb=a1b5d6dbc13d185b9ac459e421ae44b3ef8ce133;hpb=392826deaf802ac0960ed3924a3f98b9d18d381b diff --git a/src/creature/Situation.hpp b/src/creature/Situation.hpp index 3c4a28a..4d635f5 100644 --- a/src/creature/Situation.hpp +++ b/src/creature/Situation.hpp @@ -64,7 +64,7 @@ public: const State &GetState() const noexcept { return state; } const glm::dvec3 &Velocity() const noexcept { return state.vel; } - bool Moving() const noexcept { return glm::length2(state.vel) > 0.0000001; } + bool Moving() const noexcept { return glm::length2(state.vel) > 0.000001; } void Move(const glm::dvec3 &dp) noexcept; void Accelerate(const glm::dvec3 &dv) noexcept; void EnforceConstraints(State &) noexcept;