diff --git a/README.md b/README.md index fe6e439..25a984b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ void ExampleScene::init() { setSkybox(new Qtk::Skybox("Skybox")); /* Create a red cube with a mini master chief on top. */ - auto * myCube = new MeshRenderer("My cube", Cube(Qtk::QTK_DRAW_ELEMENTS)); + auto myCube = new MeshRenderer("My cube", Cube(Qtk::QTK_DRAW_ELEMENTS)); myCube->setColor(RED); mMeshes.push_back(myCube); diff --git a/app/examplescene.cpp b/app/examplescene.cpp index fde4133..2c5d8f3 100644 --- a/app/examplescene.cpp +++ b/app/examplescene.cpp @@ -48,7 +48,7 @@ void ExampleScene::init() { setSkybox(new Qtk::Skybox("Skybox")); /* Create a red cube with a mini master chief on top. */ - auto * myCube = new MeshRenderer("My cube", Cube(Qtk::QTK_DRAW_ELEMENTS)); + auto myCube = new MeshRenderer("My cube", Cube(Qtk::QTK_DRAW_ELEMENTS)); myCube->setColor(RED); mMeshes.push_back(myCube);