X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcreature%2FSituation.hpp;h=4d635f5e8ba223ba94225df3b2701ccd4767485c;hb=a1b5d6dbc13d185b9ac459e421ae44b3ef8ce133;hp=3c4a28a567ef4877b09ad68c94575c12545179cf;hpb=b4deadd9f4e399207e2530ea39a447c0d9d260a3;p=blobs.git 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;