Add missing boolean operator declarations

This commit is contained in:
Sami Kankaristo 2016-03-15 02:22:48 +02:00
parent 236fed9d93
commit 21fb034338

View File

@ -170,6 +170,14 @@ namespace glm
template <typename T, precision P>
GLM_FUNC_DECL tquat<T, P> operator/(tquat<T, P> const & q, T const & s);
// -- Boolean operators --
template <typename T, precision P>
GLM_FUNC_DECL bool operator==(tquat<T, P> const & q1, tquat<T, P> const & q2);
template <typename T, precision P>
GLM_FUNC_DECL bool operator!=(tquat<T, P> const & q1, tquat<T, P> const & q2);
/// Returns the length of the quaternion.
///
/// @see gtc_quaternion