From ece2b8b5a2837ae87e7e5079346f429a930bf8a8 Mon Sep 17 00:00:00 2001 From: Sami Kankaristo Date: Tue, 15 Mar 2016 02:22:48 +0200 Subject: [PATCH] Add missing boolean operator declarations --- glm/gtc/quaternion.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 6fae5cc6..5e9c8cd5 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -184,6 +184,14 @@ namespace glm template GLM_FUNC_DECL tquat operator/(tquat const & q, T const & s); + // -- Boolean operators -- + + template + GLM_FUNC_DECL bool operator==(tquat const & q1, tquat const & q2); + + template + GLM_FUNC_DECL bool operator!=(tquat const & q1, tquat const & q2); + /// Returns the length of the quaternion. /// /// @see gtc_quaternion