Skip to content

Commit

Permalink
feat(Lines): format docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 committed Oct 1, 2023
1 parent 45002ed commit a3b612f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/guide/shapes/line2.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ If you pass "bare" numbers in the points array, ensure that you pass "triplets"

::: code-group
```vue [Wrong]
// ✅ ❌ ✅
:points=[[1,1], 2, 2, [3,3]]
// result: (1,1,0) (2,2,3) (3,0,?)
// ✅ ❌ ✅
:points="[[1,1], 2, 2, [3,3]]"
// result: (1,1,0) (2,2,3) (3,0,)
```

```vue [Right]
// ✅ ✅ ✅
:points=[[1,1], 2, 2, 0, [3,3]]
// ✅ ✅ ✅
:points="[[1,1], 2, 2, 0, [3,3]]"
// result: (1,1,0) (2,2,0) (3,3,0)
```
The component, like Three.js, will not keep you from shooting yourself in the foot.
Expand Down

0 comments on commit a3b612f

Please sign in to comment.