mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
767fa7c7a9
10 changed files with 51 additions and 31 deletions
|
|
@ -416,7 +416,7 @@ Structure:
|
|||
|
||||
Where:
|
||||
- structure_name - a string containing the name of the structure, registered in structures.toml.
|
||||
- structure_position - a vec3 (an array of three numbers) relative to the position of the chunk.
|
||||
- structure_position - a vec3 (an array of three numbers).
|
||||
- rotation - a number from 0 to 3 indicating the rotation of the structure along the Y axis.
|
||||
- priority - a number determining the order in which structures are placed. Structures with lower priority are overlapped by structures with higher priority.
|
||||
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@ end
|
|||
|
||||
Где:
|
||||
- имя_структуры - строка содержащая имя структуры, зарегистрированная в structures.toml.
|
||||
- позиция_структуры - vec3 (массив из трех чисел) относительно позиции чанка.
|
||||
- позиция_структуры - vec3 (массив из трех чисел).
|
||||
- поворот - число от 0 до 3 обозначающая поворот структуры по оси Y.
|
||||
- приоритет - число определяющее порядок установки структур. Структуры с меньшем приоритетом перекрываются структурами с большим.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue