Skip to content

Commit

Permalink
update 2022-1-26
Browse files Browse the repository at this point in the history
  • Loading branch information
sdragonx committed Jan 26, 2022
1 parent 949f7bf commit 1772195
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions glm/gtc/operator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

namespace glm{

}// end namespace glm

template<size_t N, typename T>
GLM_API bool operator == (const glm::vec<N, T>& x, const glm::vec<N, T>& y)
GLM_API bool operator == (const vec<N, T>& x, const vec<N, T>& y)
{
return glm::compare(glm::equal<T>, x, y);
return compare(equal<T>, x, y);
}

template<size_t N, typename T>
GLM_API bool operator != (const glm::vec<N, T>& x, const glm::vec<N, T>& y)
GLM_API bool operator != (const vec<N, T>& x, const vec<N, T>& y)
{
return !glm::compare(glm::equal<T>, x, y);
return !compare(equal<T>, x, y);
}

}// end namespace glm

#endif// GLM_OPEARTOR_HPP_20220111155446

0 comments on commit 1772195

Please sign in to comment.