summaryrefslogtreecommitdiffstats
path: root/examples/cylinder-cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire.ecortex.kdab.com>2014-10-27 15:35:33 +0100
committerPaul Lemire <paul.lemire@kdab.com>2014-10-30 17:22:21 +0100
commit1dcaa4a2206e1bfe849cfaf3314c1ed5a3877e89 (patch)
tree68f3c808b014ecafde8555289b057b2e64a4c5b2 /examples/cylinder-cpp
parent8e5345043dd3658cd3f319cd1aee9e746c17fdbd (diff)
QTransform refactored
Change-Id: I9c05c37b7f9576b81169c30686de96c9267e4854 Task-number: QTBUG-41542 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/cylinder-cpp')
-rw-r--r--examples/cylinder-cpp/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cylinder-cpp/main.cpp b/examples/cylinder-cpp/main.cpp
index ec6c411eb..c11435346 100644
--- a/examples/cylinder-cpp/main.cpp
+++ b/examples/cylinder-cpp/main.cpp
@@ -120,8 +120,8 @@ int main(int argc, char **argv)
cylinderRotation->setAngleDeg(45.0f);
cylinderRotation->setAxis(QVector3D(1, 0, 0));
- cylinderTransforms->appendTransform(cylinderScale);
- cylinderTransforms->appendTransform(cylinderRotation);
+ cylinderTransforms->addTransform(cylinderScale);
+ cylinderTransforms->addTransform(cylinderRotation);
// Cylinder
Qt3D::QEntity *cylinderEntity = new Qt3D::QEntity(rootEntity);