|
|
@@ -39,6 +39,7 @@
|
|
|
|
|
|
// Dependency:
|
|
|
#include "../glm.hpp"
|
|
|
+#include "../gtc/integer.hpp"
|
|
|
|
|
|
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
|
|
|
# pragma message("GLM: GLM_GTX_integer extension included")
|
|
|
@@ -57,11 +58,6 @@ namespace glm
|
|
|
//! From GLM_GTX_integer extension.
|
|
|
GLM_FUNC_DECL int sqrt(int x);
|
|
|
|
|
|
- //! Returns the log2 of x. Can be reliably using to compute mipmap count from the texture size.
|
|
|
- //! From GLM_GTX_integer extension.
|
|
|
- template <typename genIUType>
|
|
|
- GLM_FUNC_DECL genIUType log2(genIUType x);
|
|
|
-
|
|
|
//! Returns the floor log2 of x.
|
|
|
//! From GLM_GTX_integer extension.
|
|
|
GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
|