Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed counters attribute calculation #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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