Oolite 1.91.0.7645-241119-222d325
|
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.
OOMatrix OOGLGetModelView | ( | void | ) |
Definition at line 464 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::getModelView.
OOMatrix OOGLGetModelViewProjection | ( | void | ) |
Definition at line 605 of file OOOpenGLMatrixManager.m.
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.
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 HeadUpDisplay::hudRotateViewpointForVirtualDepth.
void OOGLMultModelView | ( | OOMatrix | matrix | ) |
Definition at line 485 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::multModelView:, and OOOpenGLMatrixManager::syncModelView.
Referenced by 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::hudDrawReticleOnTarget, and HeadUpDisplay::hudDrawWaypoint.
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::hudDrawReticleOnTarget, and HeadUpDisplay::hudDrawWaypoint.
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.
void OOGLResetProjection | ( | void | ) |
Definition at line 520 of file OOOpenGLMatrixManager.m.
References OOOpenGLMatrixManager::resetProjection, and OOOpenGLMatrixManager::syncProjection.
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::hudRotateViewpointForVirtualDepth.
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::hudRotateViewpointForVirtualDepth.
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.