#include #include namespace gli { template class vecType> inline T levels(vecType const& Extent) { return glm::log2(compMax(Extent)) + static_cast(1); } template inline T levels(T Extent) { return static_cast(glm::log2(Extent) + static_cast(1)); } /* inline int levels(int Extent) { return glm::log2(Extent) + static_cast(1); } */ }//namespace gli