spite / THREE.MeshLine

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

where is MeshLineMaterial from? #90

Closed lidaof closed 4 years ago

lidaof commented 4 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 4 years ago

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

lidaof commented 4 years ago

Thank you!!