wsparcie dla visual studio, lekkie uprzątnięcie kodu

This commit is contained in:
2024-11-27 23:35:34 +01:00
parent 74256cf14b
commit bab9ab751c
451 changed files with 149074 additions and 129 deletions

17
GL/glm/gtx/texture.inl Normal file
View File

@@ -0,0 +1,17 @@
/// @ref gtx_texture
namespace glm
{
template <length_t L, typename T, qualifier Q>
inline T levels(vec<L, T, Q> const& Extent)
{
return glm::log2(compMax(Extent)) + static_cast<T>(1);
}
template <typename T>
inline T levels(T Extent)
{
return vec<1, T, defaultp>(Extent).x;
}
}//namespace glm