MCPcopy Create free account
hub / github.com/ddnet/ddnet / DrawSprite

Method DrawSprite

src/engine/client/graphics_threaded_sprites.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void CGraphics_Threaded::DrawSprite(float x, float y, float Size)
65{
66 IGraphics::CQuadItem QuadItem(x, y, Size * m_SpriteScale.x, Size * m_SpriteScale.y);
67 QuadsDraw(&QuadItem, 1);
68}
69
70void CGraphics_Threaded::DrawSprite(float x, float y, float ScaledWidth, float ScaledHeight)
71{

Callers 5

DoLaserPreviewMethod · 0.80
RenderGlobalStatsMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
RenderSpeedupOverlayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected