Updated Cube (markdown)

bi0qaw 2017-11-23 21:14:36 +01:00
parent 77fb5d7b4d
commit 5d3a23dd38
1 changed files with 6 additions and 6 deletions

12
Cube.md

@ -1,8 +1,8 @@
### Vectors
`cube with radius %number%`
### Locations
`cube at %location% with radius %number%`
![](https://i.imgur.com/b8lKhSQ.png)
Creates a list of locations or vectors in the shape of a cube. The radius determines the distance from the center to one of the vertices. If you want a cube with a certain edge length you have to use the following formula: `radius = edge length * sqrt(3) / 2`
### Vector Syntax
`cube with radius %number%`
### Location Syntax
`cube at %location% with radius %number%`
Creates a list of locations or vectors in the shape of a cube. The radius determines the distance from the center to one of the vertices. If you want a cube with a certain edge length you have to use the following formula: `radius = edge length * sqrt(3) / 2`