Oolite 1.91.0.7645-241119-222d325
|
Go to the source code of this file.
Functions | |
OOINLINE void | ApplyColor (OOColor *color) |
void | OODebugDrawColoredBoundingBoxBetween (Vector min, Vector max, OOColor *color) |
void | OODebugDrawColoredLine (Vector start, Vector end, OOColor *color) |
void | OODebugDrawBasis (Vector position, GLfloat scale) |
void | OODebugDrawPoint (Vector position, OOColor *color) |
OODebugWFState | OODebugBeginWireframe (BOOL ignoreZ) |
void | OODebugEndWireframe (OODebugWFState state) |
Definition at line 35 of file OODebugGLDrawing.m.
References EXPECT_NOT, OOColor::getRed:green:blue:alpha:, OOColor::lightGrayColor, nil, OO_ENTER_OPENGL, and OOGL.
Referenced by OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), and OODebugDrawPoint().
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().
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().
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.
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().