mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
Merge pull request #1034 from gottfriedleibniz/patch-ismultiple
fix: isMultiple #1034
This commit is contained in:
commit
f6574ccf71
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ namespace glm
|
|||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'isMultiple' only accept integer inputs");
|
||||
|
||||
return (Value % Multiple) == vec<L, T, Q>(0);
|
||||
return equal(Value % Multiple, vec<L, T, Q>(0));
|
||||
}
|
||||
|
||||
template<length_t L, typename T, qualifier Q>
|
||||
|
@ -40,7 +40,7 @@ namespace glm
|
|||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_integer, "'isMultiple' only accept integer inputs");
|
||||
|
||||
return (Value % Multiple) == vec<L, T, Q>(0);
|
||||
return equal(Value % Multiple, vec<L, T, Q>(0));
|
||||
}
|
||||
|
||||
template<length_t L, typename T, qualifier Q>
|
||||
|
|
Loading…
Add table
Reference in a new issue