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

Method QuadsDraw

src/engine/client/graphics_threaded.cpp:908–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908void CGraphics_Threaded::QuadsDraw(CQuadItem *pArray, int Num)
909{
910 for(int i = 0; i < Num; ++i)
911 {
912 pArray[i].m_X -= pArray[i].m_Width / 2;
913 pArray[i].m_Y -= pArray[i].m_Height / 2;
914 }
915
916 QuadsDrawTL(pArray, Num);
917}
918
919void CGraphics_Threaded::QuadsDrawTL(const CQuadItem *pArray, int Num)
920{

Callers 12

RenderTee7Method · 0.80
OnRenderMethod · 0.80
RenderGroupMethod · 0.80
RenderHand7Method · 0.80
RenderGhostMethod · 0.80
DoSoundSourceMethod · 0.80
DrawAxisMethod · 0.80
DrawAABBMethod · 0.80
DoQuadMethod · 0.80
DoQuadPointMethod · 0.80
DoQuadKnifeMethod · 0.80
DoQuadEnvPointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected