spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.18k stars 380 forks source link

where is MeshLineMaterial from? #90

Closed lidaof closed 5 years ago

lidaof commented 5 years ago

Hi there,

wondering where is MeshLineMaterial from? seems not in three, I tried in MeshLine, but got error:

TypeError: three_meshline__WEBPACK_IMPORTED_MODULE_4__.MeshLine.MeshLineMaterial is not a constructor

Jeremboo commented 5 years ago

Hey, it should be imported from the library. Try that: import { MeshLine, MeshLineMaterial } from 'three.meshline';

lidaof commented 5 years ago

Thank you!!