Add missing boolean operator declarations

This commit is contained in:
Sami Kankaristo 2016-03-15 02:22:48 +02:00 committed by Christophe Riccio
parent 8662a567b2
commit ece2b8b5a2

View File

@ -184,6 +184,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