summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-06-24 12:27:27 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-06-24 13:35:29 +0300
commite2fde441cb56bb15d737a05efb1aa7f9925f329b (patch)
tree837f2110219960dfabf6ecdd97e433adbf66884a /doc
parente5e4f86db7f64092ce626d47b36dfeffb3ac8cb8 (diff)
Add planets to the demo list in the docs.
Change-Id: Ibd85be80dd979c602673b1d1d37cd8e1bfb2ffb7 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/b2qt-demos.qdoc15
l---------doc/images/b2qt-demo-planets.jpg1
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/b2qt-demos.qdoc b/doc/b2qt-demos.qdoc
index 44e3001..dd3daa3 100644
--- a/doc/b2qt-demos.qdoc
+++ b/doc/b2qt-demos.qdoc
@@ -104,6 +104,21 @@
*/
/*!
+ \example planets
+ \title Qt Canvas3D Planets
+ \ingroup b2qt-demos
+ \brief Demonstrates the usage of Qt Canvas 3D, a WebGL-like API for QML, and popular JavaScript frameworks like three.js.
+
+ \image b2qt-demo-planets.jpg
+
+ The demo uses Qt Quick and Canvas 3D in combination with \l{http://threejs.org/}{three.js},
+ \l{https://github.com/jeromeetienne/threex.planets}{threex.planets}, and Qt Quick
+ Controls. Tapping on a planet changes the view and moves to the chosen planet. Use the sliders
+ to adjust the zoom levels and viewing distance. Tapping outside the controls moves the focus
+ back to the solar view.
+*/
+
+/*!
\example qt5-cinematicdemo
\title Qt 5 Cinematic Demo
\ingroup b2qt-demos
diff --git a/doc/images/b2qt-demo-planets.jpg b/doc/images/b2qt-demo-planets.jpg
new file mode 120000
index 0000000..8c8b33e
--- /dev/null
+++ b/doc/images/b2qt-demo-planets.jpg
@@ -0,0 +1 @@
+../../basicsuite/canvas3d-planets/preview_l.jpg \ No newline at end of file