esh.position.set(0.0, 0.0, 4.0);
                scene.add(cubeMesh);
            });
        }

        /**
         * Animate the scene and call rendering.
         */
        function animateScene(){
            // At last, we update the rotation values and assign it to the mesh's rotation.

            if (cubeMesh !== undefined) {
                // Increase the x, y and z rotation of the cube
                xRotation += 0.03;
                yRotation += 0.02;
                zRotation