|
Oolite 1.91.0.7712-251017-85ce217
|
import "OOOpenGLExtensionManager.h"import "OOOpenGLMatrixManager.h"import "MyOpenGLView.h"import "Universe.h"import "OOMacroOpenGL.h"Go to the source code of this file.
Classes | |
| category | OOOpenGLMatrixManager(Private) |
Functions | |
| void | OOGLPushModelView () |
| OOMatrix | OOGLPopModelView () |
| OOMatrix | OOGLGetModelView () |
| void | OOGLResetModelView () |
| void | OOGLLoadModelView (OOMatrix matrix) |
| void | OOGLMultModelView (OOMatrix matrix) |
| void | OOGLTranslateModelView (Vector vector) |
| void | OOGLRotateModelView (GLfloat angle, Vector axis) |
| void | OOGLScaleModelView (Vector scale) |
| void | OOGLLookAt (Vector eye, Vector center, Vector up) |
| void | OOGLResetProjection () |
| void | OOGLPushProjection () |
| OOMatrix | OOGLPopProjection () |
| OOMatrix | OOGLGetProjection () |
| void | OOGLLoadProjection (OOMatrix matrix) |
| void | OOGLMultProjection (OOMatrix matrix) |
| void | OOGLTranslateProjection (Vector vector) |
| void | OOGLRotateProjection (GLfloat angle, Vector axis) |
| void | OOGLScaleProjection (Vector scale) |
| void | OOGLFrustum (double frleft, double frright, double frbottom, double frtop, double frnear, double frfar) |
| void | OOGLOrtho (double orleft, double orright, double orbottom, double ortop, double ornear, double orfar) |
| void | OOGLPerspective (double fovy, double aspect, double zNear, double zFar) |
| OOMatrix | OOGLGetModelViewProjection () |
Variables | |
| const char * | ooliteStandardMatrixUniforms [] |
| void OOGLFrustum | ( | double | frleft, |
| double | frright, | ||
| double | frbottom, | ||
| double | frtop, | ||
| double | frnear, | ||
| double | frfar ) |
Definition at line 584 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::frustumLeft:right:bottom:top:near:far:, and OOOpenGLMatrixManager::syncProjection.
Referenced by Universe::drawUniverse, and GameController::setUpBasicOpenGLStateWithSize:.
| OOMatrix OOGLGetModelView | ( | void | ) |
Definition at line 464 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::getModelView.
Referenced by Universe::drawUniverse.
| OOMatrix OOGLGetModelViewProjection | ( | void | ) |
Definition at line 605 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::getMatrix:.
Referenced by Universe::defineFrustum.
| OOMatrix OOGLGetProjection | ( | void | ) |
Definition at line 542 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::getProjection.
| void OOGLLoadModelView | ( | OOMatrix | matrix | ) |
Definition at line 478 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::loadModelView:, and OOOpenGLMatrixManager::syncModelView.
Referenced by OOLightParticleEntity::drawSubEntityImmediate:translucent:, and Universe::drawUniverse.
| void OOGLLoadProjection | ( | OOMatrix | matrix | ) |
Definition at line 549 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::loadProjection:, and OOOpenGLMatrixManager::syncProjection.
| void OOGLLookAt | ( | Vector | eye, |
| Vector | center, | ||
| Vector | up ) |
Definition at line 513 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::lookAtWithEye:center:up:, and OOOpenGLMatrixManager::syncModelView.
Referenced by Universe::drawUniverse, and HeadUpDisplay::hudRotateViewpointForVirtualDepth.
| void OOGLMultModelView | ( | OOMatrix | matrix | ) |
Definition at line 485 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::multModelView:, and OOOpenGLMatrixManager::syncModelView.
Referenced by OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOVisualEffectEntity(Private)::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, OOTrumble::drawTrumble:, Universe::drawUniverse, and HeadUpDisplay::hudRotateViewpointForVirtualDepth.
| void OOGLMultProjection | ( | OOMatrix | matrix | ) |
Definition at line 556 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::multProjection:, and OOOpenGLMatrixManager::syncProjection.
| void OOGLOrtho | ( | double | orleft, |
| double | orright, | ||
| double | orbottom, | ||
| double | ortop, | ||
| double | ornear, | ||
| double | orfar ) |
Definition at line 591 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::orthoLeft:right:bottom:top:near:far:, and OOOpenGLMatrixManager::syncProjection.
| void OOGLPerspective | ( | double | fovy, |
| double | aspect, | ||
| double | zNear, | ||
| double | zFar ) |
Definition at line 598 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::perspectiveFovy:aspect:zNear:zFar:, and OOOpenGLMatrixManager::syncProjection.
| OOMatrix OOGLPopModelView | ( | void | ) |
Definition at line 456 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::popModelView, and OOOpenGLMatrixManager::syncModelView.
Referenced by HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOLaserShotEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, OOVisualEffectEntity(Private)::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, OOTrumble::drawTrumble:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::hudDrawWaypoint, OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, and OOCrosshairs::render.
| OOMatrix OOGLPopProjection | ( | void | ) |
Definition at line 534 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::popProjection, and OOOpenGLMatrixManager::syncProjection.
| void OOGLPushModelView | ( | void | ) |
Definition at line 449 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::pushModelView, and OOOpenGLMatrixManager::syncModelView.
Referenced by HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOLaserShotEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, OOVisualEffectEntity(Private)::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, OOTrumble::drawTrumble:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::hudDrawWaypoint, OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, and OOCrosshairs::render.
| void OOGLPushProjection | ( | void | ) |
Definition at line 527 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::pushProjection, and OOOpenGLMatrixManager::syncProjection.
| void OOGLResetModelView | ( | void | ) |
Definition at line 471 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::resetModelView, and OOOpenGLMatrixManager::syncModelView.
Referenced by Universe::drawUniverse.
| void OOGLResetProjection | ( | void | ) |
Definition at line 520 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::resetProjection, and OOOpenGLMatrixManager::syncProjection.
Referenced by Universe::drawUniverse, and GameController::setUpBasicOpenGLStateWithSize:.
| void OOGLRotateModelView | ( | GLfloat | angle, |
| Vector | axis ) |
Definition at line 499 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::rotateModelView:axis:, and OOOpenGLMatrixManager::syncModelView.
| void OOGLRotateProjection | ( | GLfloat | angle, |
| Vector | axis ) |
Definition at line 570 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::rotateProjection:axis:, and OOOpenGLMatrixManager::syncProjection.
| void OOGLScaleModelView | ( | Vector | scale | ) |
Definition at line 506 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::scaleModelView:, and OOOpenGLMatrixManager::syncModelView.
Referenced by HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOLaserShotEntity::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, HeadUpDisplay::hudRotateViewpointForVirtualDepth, and OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:.
| void OOGLScaleProjection | ( | Vector | scale | ) |
Definition at line 577 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::scaleProjection:, and OOOpenGLMatrixManager::syncProjection.
| void OOGLTranslateModelView | ( | Vector | vector | ) |
Definition at line 492 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::syncModelView, and OOOpenGLMatrixManager::translateModelView:.
Referenced by HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOParticleSystem::drawImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, OOVisualEffectEntity(Private)::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, OOTrumble::drawTrumble:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, HeadUpDisplay::hudRotateViewpointForVirtualDepth, OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, and OOCrosshairs::render.
| void OOGLTranslateProjection | ( | Vector | vector | ) |
Definition at line 563 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::syncProjection, and OOOpenGLMatrixManager::translateProjection:.
| const char* ooliteStandardMatrixUniforms[] |
Definition at line 33 of file OOOpenGLMatrixManager.m.
Referenced by OOOpenGLMatrixManager::standardMatrixUniformLocations:.