summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-11 18:04:01 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-12 03:00:10 +0200
commit5b7dfb07e3b167e8b6626f5d872abb8d3c8b5dd2 (patch)
treeef723c8040c1b9b3552b2d872156bc6f2993d3d2 /include
parentca4c75ae7c0326c86e79532649a6a8c1bcbd5ce4 (diff)
move glm operator<< for debugging to OpenGLHelper
Change-Id: Ia529badffe08507d593f494230d2e504b68ff477
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLHelper.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx
index 4afeae49228a..3cb482ba09b4 100644
--- a/include/vcl/opengl/OpenGLHelper.hxx
+++ b/include/vcl/opengl/OpenGLHelper.hxx
@@ -11,11 +11,14 @@
#define INCLUDED_VCL_OPENGL_OPENGLHELPER_HXX
#include <GL/glew.h>
+#include "glm/glm.hpp"
#include <vcl/vclopengl_dllapi.hxx>
#include <vcl/bitmapex.hxx>
#include <rtl/ustring.hxx>
+#include <ostream>
+
class VCLOPENGL_DLLPUBLIC OpenGLHelper
{
public:
@@ -28,6 +31,9 @@ public:
static const char* GLErrorString(GLenum errorCode);
};
+VCLOPENGL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::mat4& rMatrix);
+VCLOPENGL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStrm, const glm::vec4& rPos);
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */