THREE.MeshLine
THREE.MeshLine copied to clipboard
Fixed counters attribute calculation
The counters attribute array made the dash calculations go wrong. For example: a two-point line with a dashArray value of 0.5 would only give 1 dash instead of (1/0.5 =) 2. (See plot of opacity/alpha value here.) This altered counters calculation fixes that.
i've merged your commit to https://github.com/pmndrs/meshline