Skip to content

Commit

Permalink
fix: the PlaneFacade's geometry now faces up
Browse files Browse the repository at this point in the history
  • Loading branch information
lojjic committed Feb 20, 2020
1 parent f686483 commit cb1bb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/troika-3d/src/facade/primitives/PlaneFacade.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PlaneBufferGeometry } from 'three'
import { MeshFacade } from './MeshFacade.js'

const getGeometry = utils.memoize(() => {
return new PlaneBufferGeometry(1, 1, 1, 1).rotateX(Math.PI / 2)
return new PlaneBufferGeometry(1, 1, 1, 1).rotateX(-Math.PI / 2)
})

/**
Expand Down

0 comments on commit cb1bb1b

Please sign in to comment.