mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
commit
806e05755e
@ -683,7 +683,7 @@ namespace detail
|
|||||||
GLM_STATIC_ASSERT(std::numeric_limits<uintType>::is_integer, "uintType must be an integer type");
|
GLM_STATIC_ASSERT(std::numeric_limits<uintType>::is_integer, "uintType must be an integer type");
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point type");
|
GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point type");
|
||||||
|
|
||||||
return vec<L, float, Q>(v) * (static_cast<floatType>(1) / static_cast<floatType>(std::numeric_limits<uintType>::max()));
|
return vec<L, floatType, Q>(v) * (static_cast<floatType>(1) / static_cast<floatType>(std::numeric_limits<uintType>::max()));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename intType, length_t L, typename floatType, qualifier Q>
|
template<typename intType, length_t L, typename floatType, qualifier Q>
|
||||||
|
Loading…
Reference in New Issue
Block a user