mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Add more missing GLM_FUNC_QUALIFIERs
This commit is contained in:
parent
e166850954
commit
216ad4c34d
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace detail
|
|||
template <typename genFIType>
|
||||
struct Abs_<genFIType, true>
|
||||
{
|
||||
static genFIType get(genFIType const & x)
|
||||
GLM_FUNC_QUALIFIER static genFIType get(genFIType const & x)
|
||||
{
|
||||
GLM_STATIC_ASSERT(
|
||||
detail::type<genFIType>::is_float ||
|
||||
|
@ -49,7 +49,7 @@ namespace detail
|
|||
template <typename genFIType>
|
||||
struct Abs_<genFIType, false>
|
||||
{
|
||||
static genFIType get(genFIType const & x)
|
||||
GLM_FUNC_QUALIFIER static genFIType get(genFIType const & x)
|
||||
{
|
||||
GLM_STATIC_ASSERT(
|
||||
detail::type<genFIType>::is_uint, "'abs' only accept floating-point and integer inputs");
|
||||
|
|
Loading…
Add table
Reference in a new issue