#define BLANK_MODEL_GEOMETRY_H_
#include <algorithm>
+#include <limits>
#include <glm/glm.hpp>
}
+template <class T>
+inline bool iszero(const T &v) {
+ return dot(v, v) < std::numeric_limits<typename T::value_type>::epsilon();
+}
+
+
template<class T>
T manhattan_distance(const glm::tvec3<T> &a, const glm::tvec3<T> &b) {
glm::tvec3<T> diff(abs(a - b));