Skip to content

Commit b8047c3

Browse files
committed
using mediump shaders and fixed the typo of the week
1 parent 601bbcd commit b8047c3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"gl-select-box": "^1.0.2",
8585
"gl-spikes2d": "^1.0.1",
8686
"gl-streamtube3d": "^1.1.1",
87-
"gl-surface3d": "git://github.com/gl-vis/gl-surface3d.git#2a1728fae4d9ee30e0c34e945859234cc489e32a",
87+
"gl-surface3d": "git://github.com/gl-vis/gl-surface3d.git#359ba6528379f412727cb2ac35edfd4c288f8cb9",
8888
"gl-text": "^1.1.6",
8989
"glslify": "^6.3.1",
9090
"has-hover": "^1.0.1",

src/traces/surface/convert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function leastCommonMultiple(a, b) {
208208
return n;
209209
}
210210

211-
function ayyarLCM(A) {
211+
function arrayLCM(A) {
212212
if(A.length === 0) return undefined;
213213
var n = 1;
214214
for(var i = 0; i < A.length; i++) {
@@ -278,7 +278,7 @@ proto.estimateScale = function(resSrc, axis) {
278278

279279
// console.log("nums=", nums);
280280

281-
var resDst = 1 + ayyarLCM(nums);
281+
var resDst = 1 + arrayLCM(nums);
282282

283283
// console.log("BEFORE: resDst=", resDst);
284284
while(resDst < MIN_RESOLUTION) {

0 commit comments

Comments
 (0)