Using java Syntax Highlighting
- @Override
- protected void onManagedDraw(final GLState pGLState, final Camera pCamera) {
- final Scene childScene = this.mChildScene;
- if(childScene == null || !this.mChildSceneModalDraw) {
- if(this.mBackgroundEnabled) {
- pGLState.pushProjectionGLMatrix();
- pCamera.onApplySceneBackgroundMatrix(pGLState);
- pGLState.loadModelViewGLMatrixIdentity();
- this.mBackground.onDraw(pGLState, pCamera);
- pGLState.popProjectionGLMatrix();
- }
- {
- pGLState.pushProjectionGLMatrix();
- this.onApplyMatrix(pGLState, pCamera);
- pGLState.loadModelViewGLMatrixIdentity();
- super.onManagedDraw(pGLState, pCamera);
- pGLState.popProjectionGLMatrix();
- }
- }
- if(childScene != null) {
- childScene.onDraw(pGLState, pCamera);
- }
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
