Skip to content

Commit

Permalink
feat(Lines): fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andretchen0 committed Oct 1, 2023
1 parent f868d4e commit 6ab3ef5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/components/CatmullRomCurve3Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { CatmullRomCurve3, OrbitControls } from '@tresjs/cientos'
</script>

<template>
<TresCanvas v-bind="{clearColor:'#4f4f4f'}">
<TresCanvas v-bind="{ clearColor: '#4f4f4f' }">
<CatmullRomCurve3
:points="[[-1.5,0,0],[-0.5,1,0],[0.5,0,0],[1.5,1,0]]"
:points="[[-1.5, 0, 0], [-0.5, 1, 0], [0.5, 0, 0], [1.5, 1, 0]]"
:segments="40"
:line-width="10"
color="#fbb03b"
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/components/Line2Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { OrbitControls, Line2 } from '@tresjs/cientos'
</script>

<template>
<TresCanvas v-bind="{clearColor:'#4f4f4f'}">
<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 playground/src/pages/shapes/Line2Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ useRenderLoop().onLoop(({ elapsed }) => {
</script>

<template>
<TresCanvas v-bind="{clearColor:'#888'}">
<TresCanvas v-bind="{ clearColor: '#888' }">
<Line2
:points="points"
/>
Expand Down

0 comments on commit 6ab3ef5

Please sign in to comment.