X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2FCreatureCreatureCollision.hpp;h=0a907952fcc6ed2938243576a96485ac2733972a;hp=a26b050a8b637a771114261cfa6e5afe4fa27ef3;hb=0e061ce526fe46dd3e894223e5d646eb2e30f826;hpb=ee77237c575f255bb04cdae48c89956aa734c811 diff --git a/src/world/CreatureCreatureCollision.hpp b/src/world/CreatureCreatureCollision.hpp index a26b050..0a90795 100644 --- a/src/world/CreatureCreatureCollision.hpp +++ b/src/world/CreatureCreatureCollision.hpp @@ -19,7 +19,7 @@ public: const glm::dvec3 &n, double depth ) : a(&a), b(&b), normal(n), depth(depth) { - if (dot(normal, BPos() - APos()) < 0.0) { + if (glm::dot(normal, BPos() - APos()) < 0.0) { // make sure normal always is in direction from A to B normal *= -1.0; }