mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
Chat comment reference: elaborate on new //torus changes
This commit is contained in:
parent
5d2df22c0a
commit
6d6252b2c3
1 changed files with 5 additions and 4 deletions
|
@ -127,13 +127,14 @@ Creates a hollow ellipsoid at position 1 with the radius `(rx, ry, rz)`. Works t
|
||||||
## `//torus <major_radius> <minor_radius> <node_name> [<axes=xy> [h[ollow]]]`
|
## `//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`. A single axis may also be specified (i.e. `x`, `y`, or `z`) - this will be interpreted as the axis that runs through the hole in the middle of the torus.
|
||||||
|
|
||||||
```
|
```
|
||||||
//torus 15 5 stone
|
//torus 15 5 stone
|
||||||
//torus 5 3 meselamp x
|
//torus 5 3 meselamp
|
||||||
//torus 10 6 sandstone xz hollow
|
//torus 10 6 sandstone xz
|
||||||
//torus 10 6 wool:red y h
|
//torus 10 6 wool:red y
|
||||||
|
//torus 25 10 dirt xz hollow
|
||||||
```
|
```
|
||||||
|
|
||||||
## `//hollowtorus <major_radius> <minor_radius> <node_name> [<axes=xy>]`
|
## `//hollowtorus <major_radius> <minor_radius> <node_name> [<axes=xy>]`
|
||||||
|
|
Loading…
Reference in a new issue