summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-04-14 17:28:34 +1000
committerSarah Smith <sarah.j.smith@nokia.com>2011-04-14 17:28:34 +1000
commitbe2940e0e76b357e9c0e45dd9726ab2887bf865d (patch)
tree9b0274c721e33220d02448007813a606484c4b17 /src
parentb751eeb3c192c99e265db272d500bdb8c0982288 (diff)
Refactoring doco.
Also remove N900 stuff and document that this is superseded by packaging stuff in the debian directory. Change-Id: Ic4db8524a8c6a93984e74fa0866861c353a457f2
Diffstat (limited to 'src')
-rw-r--r--src/threed/geometry/qglbuilder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/threed/geometry/qglbuilder.cpp b/src/threed/geometry/qglbuilder.cpp
index d3be13899..402a5d1dc 100644
--- a/src/threed/geometry/qglbuilder.cpp
+++ b/src/threed/geometry/qglbuilder.cpp
@@ -270,7 +270,7 @@
Here the front can is a set of built geometry and the other two are
scene nodes that reference it, without copying any geometry.
- \snippet builder/builder.cpp 0
+ \snippet qt3d/builder/builder.cpp 0
QGLSceneNodes can be used after the builder is created to cheaply
copy and redisplay the whole scene. Or to reference parts of the geometry
@@ -280,7 +280,7 @@
To draw the resulting built geometry simply call the draw method of the
build geometry.
- \snippet builder/builder.cpp 1
+ \snippet qt3d/builder/builder.cpp 1
Call the \l{QGLSceneNode::palette()}{palette()} function on the sceneNode()
to get the QGLMaterialCollection for the node, and place textures
@@ -291,7 +291,7 @@
or pass no arguments to the constructor and the QGLBuilder
will create a palette:
- \snippet builder/builder.cpp 2
+ \snippet qt3d/builder/builder.cpp 2
These may then be applied as needed throughout the building of the
geometry using the integer reference, \c{canMat} in the above code.
@@ -306,7 +306,7 @@
Call the newSection() function to create a new section:
- \snippet builder/builder.cpp 3
+ \snippet qt3d/builder/builder.cpp 3
Here separate sections for the rounded outside cylinder and flat top and
bottom of the soup can model makes for the appearance of a sharp edge