]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/CreatureCreatureCollision.hpp
hooray for könig lookup
[blobs.git] / src / world / CreatureCreatureCollision.hpp
index a26b050a8b637a771114261cfa6e5afe4fa27ef3..0a907952fcc6ed2938243576a96485ac2733972a 100644 (file)
@@ -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;
                }