webgl-plot
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -226,5 +226,2 @@ var webglplotBundle = (function (exports) { | ||
this.gOffsetY = 0; | ||
//this.backgroundColor = new ColorRGBA(255,0,0,1); | ||
// Clear the canvas | ||
//webgl.clearColor(this.backgroundColor.r, this.backgroundColor.g, this.backgroundColor.b, this.backgroundColor.a); | ||
// Enable the depth test | ||
@@ -231,0 +228,0 @@ webgl.enable(webgl.DEPTH_TEST); |
@@ -38,5 +38,2 @@ /** | ||
this.gOffsetY = 0; | ||
//this.backgroundColor = new ColorRGBA(255,0,0,1); | ||
// Clear the canvas | ||
//webgl.clearColor(this.backgroundColor.r, this.backgroundColor.g, this.backgroundColor.b, this.backgroundColor.a); | ||
// Enable the depth test | ||
@@ -43,0 +40,0 @@ webgl.enable(webgl.DEPTH_TEST); |
{ | ||
"name": "webgl-plot", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "High-performance 2D plotting framework based on native WebGL", | ||
"main": "./dist/webglplot", | ||
"typings": "./src/webglplot", | ||
"types": "./src/webglplot", | ||
"main": "./dist/webglplot.js", | ||
"typings": "./dist/webgl-plot.d.ts", | ||
"types": "./dist/webgl-plot.d.ts", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.7.12", | ||
"@microsoft/api-extractor": "^7.7.8", | ||
"rollup": "^1.31.1", | ||
"typedoc": "^0.16.10", | ||
"typedoc-plugin-markdown": "^2.2.16", | ||
"typescript": "^3.8.2" | ||
@@ -13,0 +16,0 @@ }, |
@@ -20,6 +20,7 @@ | ||
* @example | ||
* ``` | ||
* ```typescript | ||
* x= [0,1] | ||
* y= [1,2] | ||
* line = new WebglLine( new ColorRGBA(0.1,0.1,0.1,1), 2); | ||
* ``` | ||
*/ | ||
@@ -26,0 +27,0 @@ constructor(c: ColorRGBA, numPoints: number) { |
Sorry, the diff of this file is not supported yet
65448
37
1289
6