This commit is contained in:
2026-06-14 19:09:18 +01:00
parent 14bd1a9271
commit 13fa90a0e9
3958 changed files with 999286 additions and 4 deletions
@@ -0,0 +1,14 @@
/// @ref gtx_float_normalize
/// @file glm/gtx/float_normalize.inl
#include <limits>
namespace glm
{
template<length_t L, typename T, precision P, template<length_t, typename, precision> class vecType>
GLM_FUNC_QUALIFIER vecType<L, float, P> floatNormalize(vecType<L, T, P> const & v)
{
return vecType<L, float, P>(v) / static_cast<float>(std::numeric_limits<T>::max());
}
}//namespace glm