| 117 | } |
| 118 | |
| 119 | void NavMeshDebugDraw::begin(duDebugDrawPrimitives prim, float size /*= 1.0f*/) |
| 120 | { |
| 121 | if (_currentPrimitive) |
| 122 | return; |
| 123 | _currentPrimitive = new Primitive; |
| 124 | _currentPrimitive->type = getPrimitiveType(prim); |
| 125 | _currentPrimitive->depthMask = _currentDepthMask; |
| 126 | _currentPrimitive->start = _vertices.size(); |
| 127 | _currentPrimitive->size = size; |
| 128 | } |
| 129 | |
| 130 | void NavMeshDebugDraw::end() |
| 131 | { |
no test coverage detected