world.Generate({ -4, -4, -4 }, { 5, 5, 5});
hud.Viewport(960, 600);
world.Generate({ -4, -4, -4 }, { 5, 5, 5});
hud.Viewport(960, 600);
- chunk->BlockAt(blkid).type->FillOutlineModel(outline);
- outline_transform = glm::translate(chunk->Transform(), pos);
+ chunk->Type(chunk->BlockAt(blkid)).FillOutlineModel(outline);
+ outline_transform = glm::translate(chunk->Transform(world.Player().ChunkCoords()), pos);
glm::vec3 next_pos = Chunk::ToCoords(blkid) + normal;
if (!Chunk::InBounds(next_pos)) {
mod_chunk = &world.Next(*chunk, normal);
glm::vec3 next_pos = Chunk::ToCoords(blkid) + normal;
if (!Chunk::InBounds(next_pos)) {
mod_chunk = &world.Next(*chunk, normal);