summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/oglwindow.hxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-05-15 12:54:57 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-05-15 14:23:43 +0200
commit3efddb093e72c100bc609ec691effb4563af2c20 (patch)
tree83359ccc06eb8669c24487250f79bc828df66fcc /avmedia/source/opengl/oglwindow.hxx
parent882e1bb2db4d84d8349657153cfe14363d5d9da4 (diff)
OGLWindow: First try to rotate camera
For now its too slow to render by mousemove so use mousebuttonup instead. It seems gltf_renderer_rotate_camera() method does not rotate the camera but set the new position of it. Change-Id: I0fe7895720dbf95acb0963a5ba6dd2a5840d8f6b
Diffstat (limited to 'avmedia/source/opengl/oglwindow.hxx')
-rw-r--r--avmedia/source/opengl/oglwindow.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/avmedia/source/opengl/oglwindow.hxx b/avmedia/source/opengl/oglwindow.hxx
index e7b0d3ab57d3..ba510e46f31c 100644
--- a/avmedia/source/opengl/oglwindow.hxx
+++ b/avmedia/source/opengl/oglwindow.hxx
@@ -70,6 +70,7 @@ private:
Window* m_pEventHandler;
bool m_bVisible;
com::sun::star::media::ZoomLevel meZoomLevel;
+ Point m_aLastMousePos;
};
} // namespace ogl