MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / setDrawFlags

Function setDrawFlags

TheForceEngine/TFE_RenderShared/triDraw3d.cpp:814–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812 }
813
814 u32 setDrawFlags(bool showGrid, bool sky)
815 {
816 u32 drawFlags = 0;
817 if (!showGrid) { drawFlags |= TFLAG_NO_GRID; }
818 if (sky) { drawFlags |= TFLAG_SKY; }
819 return drawFlags;
820 }
821}

Callers 4

triDraw3d_addTexturedFunction · 0.85
triDraw3d_addColoredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected