mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-24 08:03:46 +01:00
Reference: Add hollow keyword
This commit is contained in:
parent
313ab6e62a
commit
d0fdc62d3d
@ -124,7 +124,7 @@ Creates a hollow ellipsoid at position 1 with the radius `(rx, ry, rz)`. Works t
|
|||||||
//hollowellipsoid 21 11 41 stone
|
//hollowellipsoid 21 11 41 stone
|
||||||
```
|
```
|
||||||
|
|
||||||
## `//torus <major_radius> <minor_radius> <node_name> [<axes=xy>]`
|
## `//torus <major_radius> <minor_radius> <node_name> [<axes=xy> [h[ollow]]]`
|
||||||
Creates a solid torus at position 1 with the specified major and minor radii. The major radius is the distance from the centre of the torus to the centre of the circle bit, and the minor radius is the radius of the circle bit.
|
Creates a solid torus at position 1 with the specified major and minor radii. The major radius is the distance from the centre of the torus to the centre of the circle bit, and the minor radius is the radius of the circle bit.
|
||||||
|
|
||||||
The optional axes sets the axes upon which the torus will lay flat. Possible values: `xy` (the default), `xz`, `yz`.
|
The optional axes sets the axes upon which the torus will lay flat. Possible values: `xy` (the default), `xz`, `yz`.
|
||||||
@ -136,7 +136,7 @@ The optional axes sets the axes upon which the torus will lay flat. Possible val
|
|||||||
//torus 10 6 wool:red y h
|
//torus 10 6 wool:red y h
|
||||||
```
|
```
|
||||||
|
|
||||||
## `//hollowtorus <major_radius> <minor_radius> <node_name>`
|
## `//hollowtorus <major_radius> <minor_radius> <node_name> [<axes=xy>]`
|
||||||
Creates a hollow torus at position 1 with the radius major and minor radii. Works the same way as `//torus` does.
|
Creates a hollow torus at position 1 with the radius major and minor radii. Works the same way as `//torus` does.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user