Skip to content

Commit

Permalink
fix(examples): make bezier material doublesided
Browse files Browse the repository at this point in the history
  • Loading branch information
lojjic committed Apr 2, 2020
1 parent bbda37f commit 163b3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/troika-examples/bezier-3d/Bezier3DFacade.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Object3DFacade, Instanceable3DFacade } from 'troika-3d'
import { BezierMesh } from 'troika-three-utils'
import { Color, MeshStandardMaterial, Vector3 } from 'three'
import { Color, DoubleSide, MeshStandardMaterial, Vector3 } from 'three'

const noDash = [0, 0]
const tempColor = new Color()
const defaultMaterial = new MeshStandardMaterial({transparent: true})
const defaultMaterial = new MeshStandardMaterial({transparent: true, side: DoubleSide})

/**
* Facade wrapper around BezierMesh from three-troika-utils
Expand Down

0 comments on commit 163b3e0

Please sign in to comment.