Skip to content

Fixed counters attribute calculation#114

Open
vHeemstra wants to merge 1 commit intospite:masterfrom
vHeemstra:patch-1
Open

Fixed counters attribute calculation#114
vHeemstra wants to merge 1 commit intospite:masterfrom
vHeemstra:patch-1

Conversation

@vHeemstra
Copy link

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.

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.
This altered counters calculation fixes that.
robksawyer added a commit to robksawyer/THREE.MeshLine that referenced this pull request Dec 23, 2021
@drcmda
Copy link
Contributor

drcmda commented Dec 7, 2022

i've merged your commit to https://github.com/pmndrs/meshline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments