THREE.MeshLine Versions Save

Mesh replacement for THREE.Line

v1.3.0

3 years ago

Based on this fork => threejs-meshline

  • Supports BufferGeometry
  • Extends THREE.BufferGeometry and can be used in regular meshes as a geometry
  • New setPoint functions so you no longer need to create a geometry prior to a MeshLine
  • Raycast is exposed as MeshLineRaycast and can be used like mesh.raycast = MeshLineRaycast
  • Raycast accounts for line width
  • Extra setters and getters to help with declarative libraries like react-three-fiber

Also:

  • Make it compatible with three r117
  • Fix some demos code
  • Fix OBJLoader