the-basics.mdx: Make text match example code #307

Merged
Tobbe merged 2 commits from patch-1 into main 2021-05-07 21:20:33 +02:00
Showing only changes of commit f0d32d7754 - Show all commits

View File

@@ -23,7 +23,7 @@ circle(5);
square([15,3]);
```
`circle(5);` gives us a circle with a radius of `5` and `square` is the 2d version of `cube` . Here we've given it dimensions of 15 and 2 for x and y respectively (or width and height if you prefer) .
`circle(5);` gives us a circle with a radius of `5` and `square` is the 2d version of `cube` . Here we've given it dimensions of 15 and 3 for x and y respectively (or width and height if you prefer) .
<Image img={circleCube} className="mb-8 bg-contain rounded-md overflow-hidden" />