I would like to use some of fast* functions of GLM framework (latest version for this day), but I can't overpass ambiguity problem.
It always screams that function is ambiguous, even if I specify ridiculously precise types, for example:
Code :glm::mediump_float32 dist = glm::fastDistance(glm::mediump_f32vec2(destination.x, destination.z), glm::mediump_f32vec2(loc.x, loc.z));
gives me error
Code :more than one instance of overloaded function "glm::fastDistance" matches the argument list: function template "genType::value_type glm::fastDistance(const genType &x, const genType &y)" function template "genType glm::fastDistance(const genType &x, const genType &y)" argument types are: (glm::mediump_f32vec2, glm::mediump_f32vec2)
I believe I miss something small, but I can't find it. What should I do to make it work?