| 535 | } |
| 536 | |
| 537 | void TextCanvasTexture::DebugDrawBillboard(const vec3& pos, float scale, int lifespan_int) { |
| 538 | DDLifespan lifespan = LifespanFromInt(lifespan_int); |
| 539 | |
| 540 | RemoveDebugDrawBillboard(); |
| 541 | debug_draw_billboard_id = DebugDraw::Instance()->AddBillboard(impl_->texture_ref, pos, scale, vec4(1.0f), kPremultiplied, lifespan); |
| 542 | } |
| 543 | |
| 544 | void TextCanvasTexture::RemoveDebugDrawBillboard() { |
| 545 | if (debug_draw_billboard_id != -1) { |
nothing calls this directly
no test coverage detected