X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FCreatureCreatureCollision.hpp;h=0a907952fcc6ed2938243576a96485ac2733972a;hb=HEAD;hp=a26b050a8b637a771114261cfa6e5afe4fa27ef3;hpb=b4deadd9f4e399207e2530ea39a447c0d9d260a3;p=blobs.git 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; }