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

Method GetSpriteScale

src/engine/client/graphics_threaded_sprites.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void CGraphics_Threaded::GetSpriteScale(const CDataSprite *pSprite, float &ScaleX, float &ScaleY) const
46{
47 int w = pSprite->m_W;
48 int h = pSprite->m_H;
49 GetSpriteScaleImpl(w, h, ScaleX, ScaleY);
50}
51
52void CGraphics_Threaded::GetSpriteScale(int Id, float &ScaleX, float &ScaleY) const
53{

Callers 8

OnInitMethod · 0.80
RenderGlobalStatsMethod · 0.80
OnInitMethod · 0.80
OnInitMethod · 0.80
OnInitMethod · 0.80
OnInitMethod · 0.80
RenderGameEntitiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected