Skip to content

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.

2 participants