Update.
См. определение в файле ProjectedCrosshair.c строка 34
35 {
36#ifdef DIAG_DEVELOPER
38#endif
41
43 {
44 float sx, sy;
45
48
50 screenSpace[0] = screenSpace[0] - sx/2;
51 screenSpace[1] = screenSpace[1] - sy/2;
52
53 m_Root.SetPos(screenSpace[0], screenSpace[1]);
55 }
56 else
57 {
60 }
61 }
proto native vector GetScreenPos(vector world_pos)
Transforms position in world to position in screen in pixels as x, y component of vector,...
proto native CGame GetGame()
Перекрестные ссылки DiagMenu::GetBool(), GetCrosshairPosition(), GetGame(), GetPlayer(), CGame::GetScreenPos(), m_Debug, m_Player, m_Position, m_Root, m_Visible и vector::Zero.