| 2185 | } |
| 2186 | |
| 2187 | int ASDebugDrawBillboard(const std::string& texture_path, vec3 center, float scale, vec4 color, int lifespan_int) { |
| 2188 | DDLifespan lifespan = LifespanFromInt(lifespan_int); |
| 2189 | TextureAssetRef tex_ref = Engine::Instance()->GetAssetManager()->LoadSync<TextureAsset>(texture_path); |
| 2190 | return DebugDraw::Instance()->AddBillboard(tex_ref->GetTextureRef(), center, scale, color, kStraightBlend, lifespan); |
| 2191 | } |
| 2192 | |
| 2193 | int ASDebugDrawLine2(vec3 start, vec3 end, vec3 color, vec3 color2, int lifespan_int) { |
| 2194 | DDLifespan lifespan = LifespanFromInt(lifespan_int); |
nothing calls this directly
no test coverage detected