webgl-plot
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -381,6 +381,6 @@ class ColorRGBA { | ||
webgl.uniformMatrix2fv(uscale, false, new Float32Array([ | ||
line.scaleX * this.gScaleX, | ||
line.scaleX * this.gScaleX * (this.gLog10X ? 1 / Math.log(10) : 1), | ||
0, | ||
0, | ||
line.scaleY * this.gScaleY * this.gXYratio, | ||
line.scaleY * this.gScaleY * this.gXYratio * (this.gLog10Y ? 1 / Math.log(10) : 1), | ||
])); | ||
@@ -387,0 +387,0 @@ const uoffset = webgl.getUniformLocation(this.progThinLine, "uoffset"); |
@@ -112,6 +112,6 @@ /** | ||
webgl.uniformMatrix2fv(uscale, false, new Float32Array([ | ||
line.scaleX * this.gScaleX, | ||
line.scaleX * this.gScaleX * (this.gLog10X ? 1 / Math.log(10) : 1), | ||
0, | ||
0, | ||
line.scaleY * this.gScaleY * this.gXYratio, | ||
line.scaleY * this.gScaleY * this.gXYratio * (this.gLog10Y ? 1 / Math.log(10) : 1), | ||
])); | ||
@@ -118,0 +118,0 @@ const uoffset = webgl.getUniformLocation(this.progThinLine, "uoffset"); |
@@ -387,6 +387,6 @@ (function (global, factory) { | ||
webgl.uniformMatrix2fv(uscale, false, new Float32Array([ | ||
line.scaleX * this.gScaleX, | ||
line.scaleX * this.gScaleX * (this.gLog10X ? 1 / Math.log(10) : 1), | ||
0, | ||
0, | ||
line.scaleY * this.gScaleY * this.gXYratio, | ||
line.scaleY * this.gScaleY * this.gXYratio * (this.gLog10Y ? 1 / Math.log(10) : 1), | ||
])); | ||
@@ -393,0 +393,0 @@ const uoffset = webgl.getUniformLocation(this.progThinLine, "uoffset"); |
{ | ||
"name": "webgl-plot", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "High-performance 2D plotting library based on native WebGL", | ||
"main": "./dist/webglplot.umd.js", | ||
"exports": "./dist/webglplot.esm.js", | ||
"module": "./dist/webglplot.esm.js", | ||
@@ -10,6 +11,6 @@ "typings": "./dist/webglplot.d.ts", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.11.0", | ||
"@typescript-eslint/parser": "^4.11.0", | ||
"eslint": "^7.16.0", | ||
"rollup": "^2.35.1", | ||
"@typescript-eslint/eslint-plugin": "^4.13.0", | ||
"@typescript-eslint/parser": "^4.13.0", | ||
"eslint": "^7.18.0", | ||
"rollup": "^2.36.2", | ||
"typescript": "^4.1.3" | ||
@@ -16,0 +17,0 @@ }, |
Sorry, the diff of this file is not supported yet
107070