![]() |
Oolite 1.91.0.7658-250404-b1488af
|
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 OOMesh(Private)::debugDrawNormals, Octree::drawOctree, Octree::drawOctreeCollisions, 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, OODebugDrawBasis(), and OOINLINE.
OOINLINE void OODebugDrawBoundingBox | ( | BoundingBox | box | ) |
Definition at line 87 of file OODebugGLDrawing.h.
References OODebugDrawBoundingBoxBetween(), and OOINLINE.
Referenced by ShipEntity::drawImmediate:translucent:, and ShipEntity::drawSubEntityImmediate:translucent:.
OOINLINE void OODebugDrawBoundingBoxBetween | ( | Vector | min, |
Vector | max ) |
Definition at line 81 of file OODebugGLDrawing.h.
References OODebugDrawColoredBoundingBoxBetween(), and OOINLINE.
Referenced by OODebugDrawBoundingBox().
Definition at line 93 of file OODebugGLDrawing.h.
References OODebugDrawColoredBoundingBoxBetween(), and OOINLINE.
Referenced by ShipEntity::drawImmediate:translucent:.
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 ShipEntity(Private)::drawDebugStuff, OODebugDrawColoredVector(), and OODebugDrawLine().
Definition at line 111 of file OODebugGLDrawing.h.
References OODebugDrawColoredLine(), and OOINLINE.
Referenced by OODebugDrawColoredVectorAtOrigin(), OODebugDrawNormal(), and OODebugDrawVector().
Definition at line 129 of file OODebugGLDrawing.h.
References kZeroVector, OODebugDrawColoredVector(), and OOINLINE.
OOINLINE void OODebugDrawLine | ( | Vector | start, |
Vector | end ) |
Definition at line 135 of file OODebugGLDrawing.h.
References OODebugDrawColoredLine(), and OOINLINE.
OOINLINE void OODebugDrawNormal | ( | Vector | position, |
Vector | normal, | ||
GLfloat | scale ) |
Definition at line 99 of file OODebugGLDrawing.h.
References OODebugDrawColoredVector(), and OOINLINE.
Referenced by OODebugDrawNormalAtOrigin().
OOINLINE void OODebugDrawNormalAtOrigin | ( | Vector | normal, |
GLfloat | scale ) |
Definition at line 105 of file OODebugGLDrawing.h.
References kZeroVector, OODebugDrawNormal(), and OOINLINE.
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.
Referenced by ShipEntity(Private)::drawDebugStuff, and OOECMBlastEntity::drawImmediate:translucent:.
OOINLINE void OODebugDrawVector | ( | Vector | position, |
Vector | v ) |
Definition at line 117 of file OODebugGLDrawing.h.
References OODebugDrawColoredVector(), and OOINLINE.
Referenced by OODebugDrawVectorAtOrigin().
OOINLINE void OODebugDrawVectorAtOrigin | ( | Vector | v | ) |
Definition at line 123 of file OODebugGLDrawing.h.
References kZeroVector, OODebugDrawVector(), and OOINLINE.
void OODebugEndWireframe | ( | OODebugWFState | state | ) |
Definition at line 162 of file OODebugGLDrawing.m.
References OO_ENTER_OPENGL, and OOGL.
Referenced by OOMesh(Private)::debugDrawNormals, Octree::drawOctree, Octree::drawOctreeCollisions, OODebugDrawBasis(), OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), and OODebugDrawPoint().