mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
minor refactor
This commit is contained in:
parent
2204cb795e
commit
51531e2621
4 changed files with 93 additions and 59 deletions
|
|
@ -191,7 +191,7 @@ static constexpr inline uint8_t segment_to_int(int sx, int sy, int sz) {
|
|||
/// @param y origin position Y
|
||||
/// @param z origin position Z
|
||||
template <class Storage>
|
||||
inline void repair_segments(
|
||||
inline void restore_segments(
|
||||
Storage& chunks, const Block& def, blockstate state, int x, int y, int z
|
||||
) {
|
||||
const auto& rotation = def.rotations.variants[state.rotation];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue