summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/rotations
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2014-02-13 12:52:37 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2014-02-13 13:01:25 +0200
commitb13cc1e98241cb729787743ad2e448fea5470c49 (patch)
tree203a86842fb42089dc405ed12e7fcd4c081ab036 /examples/datavisualization/rotations
parent1549721eb6334752b71327e58f55ba014577f3b5 (diff)
Fix docs build after recent reordering of examples
Change-Id: I6aef7c7f0857606a035f1302000408cb7d4a11c1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/datavisualization/rotations')
-rw-r--r--examples/datavisualization/rotations/doc/src/rotations.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/datavisualization/rotations/doc/src/rotations.qdoc b/examples/datavisualization/rotations/doc/src/rotations.qdoc
index 2de29195..72facde0 100644
--- a/examples/datavisualization/rotations/doc/src/rotations.qdoc
+++ b/examples/datavisualization/rotations/doc/src/rotations.qdoc
@@ -39,9 +39,9 @@
In this example we want to orient the arrow items tangentially to the origin. This requires
rotating them, which can be achieved by specifying rotation quaternion to each item:
- \snippet ../examples/rotations/scatterdatamodifier.cpp 0
- \snippet ../examples/rotations/scatterdatamodifier.cpp 1
- \snippet ../examples/rotations/scatterdatamodifier.cpp 2
+ \snippet rotations/scatterdatamodifier.cpp 0
+ \snippet rotations/scatterdatamodifier.cpp 1
+ \snippet rotations/scatterdatamodifier.cpp 2
Since the items need to be rotated along two axes, we define two rotation quaternions, one
for Y-axis and one for Z-axis, and then multiply these together to get the total rotation,
@@ -53,7 +53,7 @@
we supply our own \c{narrowarrow.obj} file which contains the object definition for the mesh
in \c Wavefront obj format:
- \snippet ../examples/rotations/scatterdatamodifier.cpp 3
+ \snippet rotations/scatterdatamodifier.cpp 3
\section1 Using range gradient
@@ -62,7 +62,7 @@
part of the graph to be darker and gradually get lighter higher they are, so we define a
range gradient with black color at the position 0.0 and white color at the position 1.0:
- \snippet ../examples/rotations/scatterdatamodifier.cpp 4
+ \snippet rotations/scatterdatamodifier.cpp 4
\section1 Example contents
*/