         
         glClear(GLbitfield(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
         glEnable(GLenum(GL_SCISSOR_TEST));
+        
+        renderTime = CACurrentMediaTime()
     }
     
     func cardboardView(_ cardboardView: GVRCardboardView!, draw eye: GVREye, with headTransform: GVRHeadTransform!) {

    
    let scene: SCNScene;
    var renderer : [SCNRenderer?] = [];
    
    init(scene: SCNScene) {
        self.scene = scene;

        eyeRenderer.pointOfView?.transform = SCNMatrix4FromGLKMatrix4(GLKMatrix4Transpose(model_view_matrix));
        
        if glGetError() == GLenum(GL_NO_ERROR) {
            eyeRenderer.render(atTime: renderTime)
        }
        
    }
