Fixed build
This commit is contained in:
@@ -522,7 +522,7 @@ namespace glm
|
||||
///
|
||||
/// @see gtc_packing
|
||||
/// @see vecType<L, intType, P> packUnorm(vecType<L, floatType, P> const & v)
|
||||
template<typename uintType, length_t L, typename floatType, precision P>
|
||||
template<typename floatType, length_t L, typename uintType, precision P>
|
||||
GLM_FUNC_DECL vec<L, floatType, P> unpackUnorm(vec<L, uintType, P> const & v);
|
||||
|
||||
/// Convert each component of the normalized floating-point vector into signed integer values.
|
||||
@@ -536,7 +536,7 @@ namespace glm
|
||||
///
|
||||
/// @see gtc_packing
|
||||
/// @see vecType<L, intType, P> packSnorm(vecType<L, floatType, P> const & v)
|
||||
template<typename intType, length_t L, typename floatType, precision P>
|
||||
template<typename floatType, length_t L, typename intType, precision P>
|
||||
GLM_FUNC_DECL vec<L, floatType, P> unpackSnorm(vec<L, intType, P> const & v);
|
||||
|
||||
/// Convert each component of the normalized floating-point vector into unsigned integer values.
|
||||
|
||||
@@ -676,7 +676,7 @@ namespace detail
|
||||
return vec<L, uintType, P>(round(clamp(v, static_cast<floatType>(0), static_cast<floatType>(1)) * static_cast<floatType>(std::numeric_limits<uintType>::max())));
|
||||
}
|
||||
|
||||
template<typename uintType, length_t L, typename floatType, precision P>
|
||||
template<typename floatType, length_t L, typename uintType, precision P>
|
||||
GLM_FUNC_QUALIFIER vec<L, floatType, P> unpackUnorm(vec<L, uintType, P> const& v)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<uintType>::is_integer, "uintType must be an integer type");
|
||||
@@ -694,7 +694,7 @@ namespace detail
|
||||
return vec<L, intType, P>(round(clamp(v , static_cast<floatType>(-1), static_cast<floatType>(1)) * static_cast<floatType>(std::numeric_limits<intType>::max())));
|
||||
}
|
||||
|
||||
template<typename intType, length_t L, typename floatType, precision P>
|
||||
template<typename floatType, length_t L, typename intType, precision P>
|
||||
GLM_FUNC_QUALIFIER vec<L, floatType, P> unpackSnorm(vec<L, intType, P> const & v)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<intType>::is_integer, "uintType must be an integer type");
|
||||
|
||||
Reference in New Issue
Block a user