См. определение в файле DebugMonitor.c строка 148
149 {
150 string tile;
151 float worldSize =
g_Game.GetWorld().GetWorldSize();
152
153 float tileX = Math.InverseLerp(0, worldSize, pos[0]);
154 float tileY = Math.InverseLerp(0, worldSize, pos[2]);
155
157
158 return tile;
159 }
int GetTileFomFraction(float fraction)
Перекрестные ссылки g_Game, GetTileFomFraction() и Math::InverseLerp().
Используется в SetPosition().