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
22 changed files with 2536 additions and 0 deletions
+20
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.