mirror of
https://github.com/g-truc/glm.git
synced 2025-04-13 00:33:01 +00:00
Fixed build
This commit is contained in:
parent
1d266efe20
commit
3356896a3a
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ namespace glm
|
|||
|
||||
// degrees
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER genType degrees(genType radians)
|
||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType degrees(genType radians)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'degrees' only accept floating-point input");
|
||||
|
||||
|
@ -61,7 +61,7 @@ namespace glm
|
|||
}
|
||||
|
||||
template <typename T, precision P, template <typename, precision> class vecType>
|
||||
GLM_FUNC_QUALIFIER vecType<T, P> degrees(vecType<T, P> const & v)
|
||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vecType<T, P> degrees(vecType<T, P> const & v)
|
||||
{
|
||||
return detail::functor1<T, T, P, vecType>::call(degrees, v);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue