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

Method QuadsSetSubset

src/engine/client/graphics_threaded.cpp:880–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void CGraphics_Threaded::QuadsSetSubset(float TlU, float TlV, float BrU, float BrV)
881{
882 m_aTexture[0].u = TlU;
883 m_aTexture[1].u = BrU;
884 m_aTexture[0].v = TlV;
885 m_aTexture[1].v = TlV;
886
887 m_aTexture[3].u = TlU;
888 m_aTexture[2].u = BrU;
889 m_aTexture[3].v = BrV;
890 m_aTexture[2].v = BrV;
891}
892
893void CGraphics_Threaded::QuadsSetSubsetFree(
894 float x0, float y0, float x1, float y1,

Callers 15

InitMethod · 0.80
OnRenderMethod · 0.80
OnInitMethod · 0.80
RenderNinjaBarPosMethod · 0.80
DoLaserPreviewMethod · 0.80
OnInitMethod · 0.80
RenderScoreboardMethod · 0.80
OnRenderMethod · 0.80
OnInitMethod · 0.80
OnRenderMethod · 0.80
RenderFreezeBarPosMethod · 0.80
OnInitMethod · 0.80

Calls

no outgoing calls

Tested by 1

OnRenderMethod · 0.64