changed project to use CLion to be cross platform
This commit is contained in:
parent
6fb3ffcfed
commit
dcc5871929
463 changed files with 69347 additions and 296 deletions
17
vendor/glm/gtx/texture.inl
vendored
Normal file
17
vendor/glm/gtx/texture.inl
vendored
Normal 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 levels(vec<1, T, defaultp>(Extent));
|
||||
}
|
||||
}//namespace glm
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue