This commit is contained in:
parent
7f13b2d729
commit
fe64775bcb
|
@ -22,7 +22,7 @@ void ExampleScene::init() {
|
||||||
setSkybox(new Qtk::Skybox("Skybox"));
|
setSkybox(new Qtk::Skybox("Skybox"));
|
||||||
|
|
||||||
/* Create a red cube with a mini master chief on top. */
|
/* 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);
|
myCube->setColor(RED);
|
||||||
mMeshes.push_back(myCube);
|
mMeshes.push_back(myCube);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue