|
Oolite 1.91.0.7712-251017-85ce217
|
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, OOGL, and OOINLINE.
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 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().
| 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().
| 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:.
| 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().