From 545fc0e327dd4fdc8df6c615d4800a147174fc79 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 1 Oct 2013 13:17:27 +0300 Subject: Added camera control to surface api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2492c520f4f8142be36e4008fead29dbc02a93c7 Reviewed-by: Tomi Korpipää --- tests/kinectsurface/surfacedata.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/kinectsurface/surfacedata.cpp b/tests/kinectsurface/surfacedata.cpp index 999ccfce..84f05ed8 100644 --- a/tests/kinectsurface/surfacedata.cpp +++ b/tests/kinectsurface/surfacedata.cpp @@ -53,6 +53,7 @@ SurfaceData::SurfaceData(Q3DSurface *surface, Q3DScatter *scatter, Q3DBars *bars m_surface->setBackgroundVisible(false); m_surface->setSmoothSurfaceEnabled(false); m_surface->setActiveDataProxy(new QHeightMapSurfaceDataProxy()); + m_surface->setCameraPosition(0.0, 90.0, 105); // Initialize scatter m_scatter->setTheme(QDataVis::ThemeStoneMoss); -- cgit v1.2.3