Merge branch 'main' into dev

This commit is contained in:
MihailRis
2025-08-24 17:31:34 +03:00
7 changed files with 46 additions and 18 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ void VoxelFragment::prepare(const Content& content) {
}
void VoxelFragment::place(
GlobalChunks& chunks, const glm::ivec3& offset, ubyte rotation
GlobalChunks& chunks, const glm::ivec3& offset
) {
auto& structVoxels = getRuntimeVoxels();
for (int y = 0; y < size.y; y++) {
+1 -2
View File
@@ -45,8 +45,7 @@ public:
/// @brief Place fragment to the world
/// @param offset target location
/// @param rotation rotation index
void place(GlobalChunks& chunks, const glm::ivec3& offset, ubyte rotation);
void place(GlobalChunks& chunks, const glm::ivec3& offset);
/// @brief Create structure copy rotated 90 deg. clockwise
std::unique_ptr<VoxelFragment> rotated(const Content& content) const;