feat: 'lines' (cave-like structures/tunnels) (WIP)

This commit is contained in:
MihailRis
2024-10-08 02:32:45 +03:00
parent 8813d280dc
commit 116cbd61db
7 changed files with 176 additions and 33 deletions
@@ -14,3 +14,14 @@ struct StructurePlacement {
rotation(rotation) {
}
};
struct LinePlacement {
blockid_t block;
glm::ivec3 a;
glm::ivec3 b;
int radius;
LinePlacement(blockid_t block, glm::ivec3 a, glm::ivec3 b, int radius)
: block(block), a(std::move(a)), b(std::move(b)), radius(radius) {
}
};