Пример #1
0
    //
    public string prepareTextLine_from_vectPosXYZ(Vector3 vectPosXYZ, int Tile_zoom)
    {
        Vector2 vectTxTy     = new Vector3(vectPosXYZ.x / 256, -vectPosXYZ.z / 256, Tile_zoom);
        Vector2 vectLonxLaty = TerrainTile.TileToWorldPos(vectTxTy, Tile_zoom);

        return(prepareText_Vector3("vectPosXYZ", vectPosXYZ) +
               prepareText_Vector3("; vectTxTyTzoom", new Vector3(vectTxTy.x, vectTxTy.y, Tile_zoom)) +
               prepareText_Vector3("; vectLonxLaty_Tzoom", new Vector3(vectLonxLaty.x, vectLonxLaty.y, Tile_zoom)));
    }