/**
         * Sets the view to our GvrView and initializes the transformation matrices we will use
         * to render our scene.
         */
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            InitializeGvrView();

            modelCube           = new float [16];
            camera              = new float [16];
            view                = new float [16];
            modelViewProjection = new float [16];
            modelView           = new float [16];
            modelFloor          = new float [16];
            tempPosition        = new float [4];

            // Model first appears directly in front of user.
            modelPosition = new float [] { 0.0f, 0.0f, -MAX_MODEL_DISTANCE / 2.0f };
            headRotation  = new float [4];
            headView      = new float [16];
            vibrator      = (Vibrator)GetSystemService(Android.Content.Context.VibratorService);

            // Initialize 3D audio engine.
            gvrAudioEngine = new GvrAudioEngine(this, GvrAudioEngine.RenderingMode.BinauralHighQuality);
        }
        /**
         * Sets the view to our GvrView and initializes the transformation matrices we will use
         * to render our scene.
         */
        protected override void OnCreate (Bundle savedInstanceState)
        {
            base.OnCreate (savedInstanceState);

            InitializeGvrView ();

            modelCube = new float [16];
            camera = new float [16];
            view = new float [16];
            modelViewProjection = new float [16];
            modelView = new float [16];
            modelFloor = new float [16];
            tempPosition = new float [4];

            // Model first appears directly in front of user.
            modelPosition = new float [] { 0.0f, 0.0f, -MAX_MODEL_DISTANCE / 2.0f };
            headRotation = new float [4];
            headView = new float [16];
            vibrator = (Vibrator) GetSystemService (Android.Content.Context.VibratorService);

            // Initialize 3D audio engine.
            gvrAudioEngine = new GvrAudioEngine (this, GvrAudioEngine.RenderingMode.BinauralHighQuality);
        }