| 367 | } |
| 368 | |
| 369 | int DebugDraw::AddBillboard(const TextureRef &ref, const vec3 &position, float scale, const vec4 &color, AlphaMode mode, const DDLifespan lifespan) { |
| 370 | DebugDrawElement *element = new DebugDrawBillboard(ref, position, scale, color, mode); |
| 371 | return AddElement(element, lifespan); |
| 372 | } |
| 373 | |
| 374 | int DebugDraw::AddTransformedWireScaledSphere(const mat4 &transform, const vec4 &color, const DDLifespan lifespan) { |
| 375 | DebugDrawWireSphere *element = new DebugDrawWireSphere(transform, color); |
no outgoing calls
no test coverage detected