Skip to content

Commit

Permalink
feat(Lines): reword docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 committed Oct 1, 2023
1 parent 28e78b1 commit 45002ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/Line2Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { OrbitControls, Line2 } from '@tresjs/cientos'
<template>
<TresCanvas v-bind="{ clearColor: '#4f4f4f' }">
<Line2
:points="[[-0.5, 0, 0], 0.5, 0, 0, [0, 0.8660, 0], [-0.5, 0, 0]]"
:points="[[-0.5, 0, 0], [0.5, 0, 0], [0, 0.8660, 0], [-0.5, 0, 0]]"
:line-width="10"
color="#82dbc5"
/>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/shapes/line2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Line2Demo />
</DocsDemo>

The `cientos` package provides a `<Line2 />` component that wraps [Three.js's `Line2`](https://github.com/mrdoob/three.js/blob/e2bcdfff6427c2f106cb819b18d88d1e13aa508a/examples/jsm/lines/Line2.js).
The `cientos` package provides a `<Line2 />` component for creating 3-D lines. It wraps [Three.js's `Line2`](https://github.com/mrdoob/three.js/blob/e2bcdfff6427c2f106cb819b18d88d1e13aa508a/examples/jsm/lines/Line2.js).

## Usage
<<< @/.vitepress/theme/components/Line2Demo.vue{3,8-12}
Expand Down

0 comments on commit 45002ed

Please sign in to comment.