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

reuse gl-cone3d create_mesh in gl-streamtube3d #11

Merged
merged 1 commit into from
Oct 16, 2019
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 16, 2019

This PR can help remove rather duplicate JavaScript code from the module by reusing similar functionalities now available in gl-cone3d module after gl-vis/gl-cone3d#18.

lessIsMore

This should help

  • simplify task of maintenace and adding "working" features in future
  • reduce bundle sizes for plotly.js library which imports both modules

Please also not that unused contours, lines, points, texture, vertexUVs, cellUVs and cellIntensity were removed from the create mesh processes in gl-vis/gl-cone3d#17.

cc: @etpinard

 - drop unused contours
 - no need for lines and points
 - remove unused texture argument as well as vertexUVs, cellUVs and cellIntensity
@etpinard
Copy link
Member

💃 -- thanks!

@archmoj archmoj merged commit fd69ad5 into master Oct 16, 2019
@archmoj archmoj deleted the drop-more branch October 16, 2019 20:25
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