- 1,870
- 52
- 360
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
амм... нет теперь этот файл весит 7.5G.но я просил дамп.
private fun search(world: HWorld) {
var x = 0
var tile = world.getTile(x, 0, 0) ?: return
while (tile is ResourceNetworkParticipant) {
val position = world.bakeAbsoluteIntPosition(x, 0, 0)
if (result.contains(position)) return
result += position
if (result is NetworkDeadEnd) {
return
}
world.pushMatrix()
repeat(4) {
world.rotate(90f, 0f, 0f, 1f)
world.pushMatrix()
world.translate(1f, 0f, 0f)
search(world)
world.popMatrix()
}
world.popMatrix()
x++
tile = world.getTile(x, 0, 0) ?: return
}
}
Я чот подумал что ты хочешь там матрицы с уже нужными значениями хранить. Вот отсюда и поиск.Сморозил какой-то бред. Ты не понял для чего нужен пул? Какой еще поиск?