public void beforeDrawEyes() { mMainScene.resetStats(); GVRNotifications.notifyBeforeStep(); doMemoryManagementAndPerFrameCallbacks(); try { GVRViewManager.this.getEventManager().sendEvent(mScript, IScriptEvents.class, "onStep"); } catch (final Exception exc) { Log.e(TAG, "Exception from onStep: %s", exc.toString()); exc.printStackTrace(); } }
@Override public void afterDrawEyes() { GVRNotifications.notifyAfterStep(); mMainScene.updateStats(); }