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

Pass meshShader attributes manually (shoutout to @dy) #5

Merged
merged 4 commits into from
May 17, 2018

Conversation

etpinard
Copy link
Member

@etpinard etpinard commented May 14, 2018

@dy believes this is an issue with gl-shader. Perhaps we should investigate further.

cc @kig

- this fixes issues reported in
  #4 (comment)
  that seem to only appear on etpinard's thinkpad running
  Ubuntu 16.04
@@ -1,17 +1,18 @@
"use strict";

const V = require('gl-vec3');
const V4 = require('gl-vec4');
var V = require('gl-vec3');
Copy link
Member Author

@etpinard etpinard May 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @kig plotly.js src code must be es5 compliant.

You can use an es6->es5 browserify transform if you prefer in your other gl-vis modules.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I'll port them over from es6-style. There shouldn't be much to change, just const, let, some deconstructors and object constructors.

... that plotly.js can set cmin and cmax
@kig
Copy link
Collaborator

kig commented May 17, 2018

Looks good to me. One nit with indent width changing, I'll fix on my end

@kig kig merged commit cff4a42 into master May 17, 2018
@etpinard etpinard deleted the fix-for-etpinard-laptop branch May 17, 2018 13:18
etpinard added a commit to gl-vis/gl-streamtube3d that referenced this pull request May 23, 2018
- this is the same fix as in
  gl-vis/gl-cone3d#5
  to make gl-streamtubes3d work on etpinard's thinkpad running
  Ubuntu 16.04.
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