From b13cc1e98241cb729787743ad2e448fea5470c49 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 13 Feb 2014 12:52:37 +0200 Subject: Fix docs build after recent reordering of examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6aef7c7f0857606a035f1302000408cb7d4a11c1 Reviewed-by: Tomi Korpipää --- examples/datavisualization/rotations/doc/src/rotations.qdoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/datavisualization/rotations/doc/src') 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 */ -- cgit v1.2.3