mirror of
https://github.com/icaven/glm.git
synced 2025-12-07 01:06:47 +08:00
Fixed static_assert errors
This commit is contained in:
parent
9d149d677f
commit
19808e30e2
@ -1075,7 +1075,7 @@ namespace detail
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(
|
GLM_STATIC_ASSERT(
|
||||||
std::numeric_limits<genType>::is_iec559,
|
std::numeric_limits<T>::is_iec559,
|
||||||
"'frexp' only accept floating-point inputs");
|
"'frexp' only accept floating-point inputs");
|
||||||
|
|
||||||
return detail::tvec2<T, P>(
|
return detail::tvec2<T, P>(
|
||||||
@ -1091,7 +1091,7 @@ namespace detail
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(
|
GLM_STATIC_ASSERT(
|
||||||
std::numeric_limits<genType>::is_iec559,
|
std::numeric_limits<T>::is_iec559,
|
||||||
"'frexp' only accept floating-point inputs");
|
"'frexp' only accept floating-point inputs");
|
||||||
|
|
||||||
return detail::tvec3<T, P>(
|
return detail::tvec3<T, P>(
|
||||||
@ -1108,7 +1108,7 @@ namespace detail
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(
|
GLM_STATIC_ASSERT(
|
||||||
std::numeric_limits<genType>::is_iec559,
|
std::numeric_limits<T>::is_iec559,
|
||||||
"'frexp' only accept floating-point inputs");
|
"'frexp' only accept floating-point inputs");
|
||||||
|
|
||||||
return detail::tvec4<T, P>(
|
return detail::tvec4<T, P>(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user