Oolite 1.91.0.7646-241128-10e222e
|
Go to the source code of this file.
Classes | |
struct | OODebugWFState |
Functions | |
OODebugWFState | OODebugBeginWireframe (BOOL ignoreZ) |
void | OODebugEndWireframe (OODebugWFState state) |
OOINLINE void | OODebugDrawBoundingBox (BoundingBox box) |
OOINLINE void | OODebugDrawBoundingBoxBetween (Vector min, Vector max) |
OOINLINE void | OODebugDrawColoredBoundingBox (BoundingBox box, OOColor *color) |
void | OODebugDrawColoredBoundingBoxBetween (Vector min, Vector max, OOColor *color) |
OOINLINE void | OODebugDrawNormal (Vector position, Vector normal, GLfloat scale) |
OOINLINE void | OODebugDrawNormalAtOrigin (Vector normal, GLfloat scale) |
OOINLINE void | OODebugDrawVector (Vector position, Vector v) |
OOINLINE void | OODebugDrawColoredVector (Vector position, Vector v, OOColor *color) |
OOINLINE void | OODebugDrawVectorAtOrigin (Vector v) |
OOINLINE void | OODebugDrawColoredVectorAtOrigin (Vector v, OOColor *color) |
OOINLINE void | OODebugDrawLine (Vector start, Vector end) |
void | OODebugDrawColoredLine (Vector start, Vector end, OOColor *color) |
void | OODebugDrawBasis (Vector position, GLfloat scale) |
OOINLINE void | OODebugDrawBasisAtOrigin (GLfloat scale) |
void | OODebugDrawPoint (Vector position, OOColor *color) |
OODebugWFState OODebugBeginWireframe | ( | BOOL | ignoreZ | ) |
Definition at line 133 of file OODebugGLDrawing.m.
References OOMaterial::applyNone, OOMaterial::current, GLScaledLineWidth(), OO_ENTER_OPENGL, and OOGL.
Referenced by Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, OODebugDrawBasis(), OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), and OODebugDrawPoint().
void OODebugDrawBasis | ( | Vector | position, |
GLfloat | scale ) |
Definition at line 94 of file OODebugGLDrawing.m.
References OO_ENTER_OPENGL, OODebugBeginWireframe(), OODebugEndWireframe(), OOGLBEGIN, and OOGLEND.
Referenced by OODebugDrawBasisAtOrigin().
OOINLINE void OODebugDrawBasisAtOrigin | ( | GLfloat | scale | ) |
Definition at line 141 of file OODebugGLDrawing.h.
References kZeroVector, and OODebugDrawBasis().
OOINLINE void OODebugDrawBoundingBox | ( | BoundingBox | box | ) |
Definition at line 87 of file OODebugGLDrawing.h.
References OODebugDrawBoundingBoxBetween().
OOINLINE void OODebugDrawBoundingBoxBetween | ( | Vector | min, |
Vector | max ) |
Definition at line 81 of file OODebugGLDrawing.h.
References OODebugDrawColoredBoundingBoxBetween().
Referenced by OODebugDrawBoundingBox().
Definition at line 93 of file OODebugGLDrawing.h.
References OODebugDrawColoredBoundingBoxBetween().
void OODebugDrawColoredBoundingBoxBetween | ( | Vector | min, |
Vector | max, | ||
OOColor * | color ) |
Definition at line 47 of file OODebugGLDrawing.m.
References ApplyColor(), OO_ENTER_OPENGL, OODebugBeginWireframe(), OODebugEndWireframe(), OOGLBEGIN, and OOGLEND.
Referenced by OODebugDrawBoundingBoxBetween(), and OODebugDrawColoredBoundingBox().
void OODebugDrawColoredLine | ( | Vector | start, |
Vector | end, | ||
OOColor * | color ) |
Definition at line 78 of file OODebugGLDrawing.m.
References ApplyColor(), OO_ENTER_OPENGL, OODebugBeginWireframe(), OODebugEndWireframe(), OOGLBEGIN, and OOGLEND.
Referenced by OODebugDrawColoredVector(), and OODebugDrawLine().
Definition at line 111 of file OODebugGLDrawing.h.
References OODebugDrawColoredLine().
Referenced by OODebugDrawColoredVectorAtOrigin(), OODebugDrawNormal(), and OODebugDrawVector().
Definition at line 129 of file OODebugGLDrawing.h.
References kZeroVector, and OODebugDrawColoredVector().
OOINLINE void OODebugDrawLine | ( | Vector | start, |
Vector | end ) |
Definition at line 135 of file OODebugGLDrawing.h.
References OODebugDrawColoredLine().
OOINLINE void OODebugDrawNormal | ( | Vector | position, |
Vector | normal, | ||
GLfloat | scale ) |
Definition at line 99 of file OODebugGLDrawing.h.
References OODebugDrawColoredVector().
Referenced by OODebugDrawNormalAtOrigin().
OOINLINE void OODebugDrawNormalAtOrigin | ( | Vector | normal, |
GLfloat | scale ) |
Definition at line 105 of file OODebugGLDrawing.h.
References kZeroVector, and OODebugDrawNormal().
void OODebugDrawPoint | ( | Vector | position, |
OOColor * | color ) |
Definition at line 117 of file OODebugGLDrawing.m.
References ApplyColor(), GLScaledPointSize(), OO_ENTER_OPENGL, OODebugBeginWireframe(), OODebugEndWireframe(), OOGL, OOGLBEGIN, and OOGLEND.
OOINLINE void OODebugDrawVector | ( | Vector | position, |
Vector | v ) |
Definition at line 117 of file OODebugGLDrawing.h.
References OODebugDrawColoredVector().
Referenced by OODebugDrawVectorAtOrigin().
OOINLINE void OODebugDrawVectorAtOrigin | ( | Vector | v | ) |
Definition at line 123 of file OODebugGLDrawing.h.
References kZeroVector, and OODebugDrawVector().
void OODebugEndWireframe | ( | OODebugWFState | state | ) |
Definition at line 162 of file OODebugGLDrawing.m.
References OO_ENTER_OPENGL, and OOGL.
Referenced by Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, OODebugDrawBasis(), OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), and OODebugDrawPoint().