Project wiki moved to doc folder + english translation (#182)

This commit is contained in:
MihailRis 2024-03-15 12:36:50 +03:00 • committed by GitHub
parent a149c520c6
commit a5aee06e01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 2536 additions and 0 deletions

20
doc/en/9.Block-models.md Normal file
View file

@ -0,0 +1,20 @@
# Block Models
Block model may be created with following properties:
```js
"model": "custom",
"model-primitives": {
"aabbs": [
// list of AABB primitives
],
// ... other primitives
}
```
**AABB** primitive is an array of values:
```
[x, y, z, width, height, depth, texture names for all 6 sides]
```
**tetragon** primitive (more like parallelogram) an array of three vectors, describing primitive position, X vector \* width, Y vector \* height.