X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Finterface.cpp;fp=src%2Finterface.cpp;h=45439da0e9a1de63c497063f192a6109c60434b9;hb=e74f1ad236429f05db90c0ace825277e2a3fbc05;hp=dddb7324f965fc7fe2a4f90810837b7e3e6598c2;hpb=fc73b44e0f90affd42cac2f944f46633a6b8364e;p=blank.git diff --git a/src/interface.cpp b/src/interface.cpp index dddb732..45439da 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -124,24 +124,24 @@ void Interface::PrintChunkInfo() { << aim_chunk->Position() << std::endl; - std::cout << " neighbors:"; + std::cout << " neighbors:" << std::endl; if (aim_chunk->HasNeighbor(Block::FACE_LEFT)) { - std::cout << " left"; + std::cout << " left " << aim_chunk->GetNeighbor(Block::FACE_LEFT).Position() << std::endl; } if (aim_chunk->HasNeighbor(Block::FACE_RIGHT)) { - std::cout << " right"; + std::cout << " right " << aim_chunk->GetNeighbor(Block::FACE_RIGHT).Position() << std::endl; } if (aim_chunk->HasNeighbor(Block::FACE_UP)) { - std::cout << " up"; + std::cout << " up " << aim_chunk->GetNeighbor(Block::FACE_UP).Position() << std::endl; } if (aim_chunk->HasNeighbor(Block::FACE_DOWN)) { - std::cout << " down"; + std::cout << " down " << aim_chunk->GetNeighbor(Block::FACE_DOWN).Position() << std::endl; } if (aim_chunk->HasNeighbor(Block::FACE_FRONT)) { - std::cout << " front"; + std::cout << " front " << aim_chunk->GetNeighbor(Block::FACE_FRONT).Position() << std::endl; } if (aim_chunk->HasNeighbor(Block::FACE_BACK)) { - std::cout << " back"; + std::cout << " back " << aim_chunk->GetNeighbor(Block::FACE_BACK).Position() << std::endl; } std::cout << std::endl; }