Skip to content

Handle various orders of input data #10

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

Merged
merged 13 commits into from
Oct 15, 2019
Merged

Handle various orders of input data #10

merged 13 commits into from
Oct 15, 2019

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 11, 2019

The gl-streamtube3d module used to make assumptions about the order of input data which could be false in cases where the data cube was not filled in orders than xyz (i.e first x | next y | last z).
This PR addresses this issue by considering the order of data.
Please refer to plotly/plotly.js#4271 for more info.
I addition this PR refactors parts of the code

  • to avoid global temporary variables
  • to reduce calls to read the length of arrays
  • to simplify condition checks

@etpinard

@archmoj
Copy link
Contributor Author

archmoj commented Oct 15, 2019

@etpinard thanks for review and the confirmation to merge.
Merging...

@archmoj archmoj merged commit 1314c72 into master Oct 15, 2019
@archmoj archmoj deleted the streamtube-color branch October 15, 2019 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant