#include "io.hpp"
#include "Packet.hpp"
-#include "../app/init.hpp"
+#include "../app/error.hpp"
#include "../geometry/const.hpp"
#include "../model/Model.hpp"
#include "../world/Entity.hpp"
}
}
// omitted component squared is 1 - length squared of others
- val[largest_index] = sqrt(1.0f - dot(val, val));
+ val[largest_index] = sqrt(1.0f - glm::length2(val));
// and already normalized
}