| 
    Oolite 1.91.0.7712-251017-85ce217
    
   | 
 
import "OOMaths.h"Go to the source code of this file.
Classes | |
| class | OOOpenGLMatrixStack | 
| class | OOOpenGLMatrixManager | 
Functions | |
| void | OOGLPushModelView (void) | 
| OOMatrix | OOGLPopModelView (void) | 
| OOMatrix | OOGLGetModelView (void) | 
| void | OOGLResetModelView (void) | 
| 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) | 
| void | OOGLPushProjection (void) | 
| OOMatrix | OOGLPopProjection (void) | 
| OOMatrix | OOGLGetProjection (void) | 
| 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 left, double right, double bottom, double top, double near, double far) | 
| void | OOGLOrtho (double left, double right, double bottom, double top, double near, double far) | 
| void | OOGLPerspective (double fovy, double aspect, double zNear, double zFar) | 
| OOMatrix | OOGLGetModelViewProjection (void) | 
Variables | |
| const char * | ooliteStandardMatrixUniforms [] | 
| anonymous enum | 
Definition at line 31 of file OOOpenGLMatrixManager.h.
| void OOGLFrustum | ( | double | left, | 
| double | right, | ||
| double | bottom, | ||
| double | top, | ||
| double | near, | ||
| double | far ) | 
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 | left, | 
| double | right, | ||
| double | bottom, | ||
| double | top, | ||
| double | near, | ||
| double | far ) | 
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:.
      
  | 
  extern | 
Definition at line 33 of file OOOpenGLMatrixManager.m.
Referenced by OOOpenGLMatrixManager::standardMatrixUniformLocations:.