MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / DI2PY

Function DI2PY

ogsr_engine/xr_3da/GameFont.cpp:229–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 return float(iFloor((x + 1) * float(::Render->getTarget()->get_width(cmd_list)) * 0.5f));
228}
229static inline float DI2PY(float y)
230{
231 auto& cmd_list = ::Render->get_imm_command_list();
232 return float(iFloor((y + 1) * float(::Render->getTarget()->get_height(cmd_list)) * 0.5f));
233}
234
235void CGameFont::OutSet(float x, float y)
236{

Callers 2

OutSetIMethod · 0.85
MasterOutMethod · 0.85

Calls 2

get_heightMethod · 0.80
getTargetMethod · 0.80

Tested by

no test coverage detected