-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
- 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'); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Looks good to me. One nit with indent width changing, I'll fix on my end |
- 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.
Cones are stretched out when axis spans don't match #4 (comment)
that seem to only appear on etpinard's thinkpad running
Ubuntu 16.04
@dy believes this is an issue with gl-shader. Perhaps we should investigate further.
cc @kig