+ Block::Pos ToSceneCoords(const Pos &base, const Block::Pos &pos) const noexcept {
+ return Block::Pos((position - base) * Extent()) + pos;
+ }
+
+ static bool IsBorder(const Pos &pos) noexcept {
+ return
+ pos.x == 0 ||
+ pos.x == width - 1 ||
+ pos.y == 0 ||
+ pos.y == height - 1 ||
+ pos.z == 0 ||
+ pos.z == depth - 1;
+ }