172 {
173 string tile;
174 float worldSize =
g_Game.GetWorld().GetWorldSize();
175
176 float tileX = Math.InverseLerp(0, worldSize, pos[0]);
177 float tileY = Math.InverseLerp(0, worldSize, pos[2]);
178
180
181 return tile;
182 }
int GetTileFomFraction(float fraction)
static proto string ToString(void var, bool type=false, bool name=false, bool quotes=true)
Return string representation of variable.