webgl-plot
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -9,3 +9,2 @@ export declare class WebglPolar extends WebglBaseLine { | ||
visible: boolean; | ||
coord: number; | ||
offsetTheta: number; | ||
@@ -12,0 +11,0 @@ constructor(c: ColorRGBA, numPoints: number); |
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -0,1 +1,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
/** | ||
@@ -18,4 +19,8 @@ * Baseline class | ||
this.intensity = 1; | ||
this.xy = new Float32Array([]); | ||
this.numPoints = 0; | ||
this.color = new ColorRGBA(0, 0, 0, 1); | ||
this.webglNumPoints = 0; | ||
} | ||
} | ||
//# sourceMappingURL=WebglBaseLine.js.map |
@@ -12,3 +12,3 @@ /** | ||
import { WebglPolar } from "./WbglPolar"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
import type { WebglBaseLine } from "./WebglBaseLine"; | ||
export { WebglLine, ColorRGBA, WebglStep, WebglPolar }; | ||
@@ -15,0 +15,0 @@ declare type WebGLPlotConfig = { |
@@ -27,2 +27,6 @@ class ColorRGBA { | ||
this.intensity = 1; | ||
this.xy = new Float32Array([]); | ||
this.numPoints = 0; | ||
this.color = new ColorRGBA(0, 0, 0, 1); | ||
this.webglNumPoints = 0; | ||
} | ||
@@ -29,0 +33,0 @@ } |
@@ -33,2 +33,6 @@ (function (global, factory) { | ||
this.intensity = 1; | ||
this.xy = new Float32Array([]); | ||
this.numPoints = 0; | ||
this.color = new ColorRGBA(0, 0, 0, 1); | ||
this.webglNumPoints = 0; | ||
} | ||
@@ -35,0 +39,0 @@ } |
{ | ||
"name": "webgl-plot", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "High-performance 2D plotting library based on native WebGL", | ||
@@ -9,26 +9,14 @@ "main": "./dist/webglplot.umd.js", | ||
"types": "./dist/webglplot.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/webglplot.umd.js", | ||
"import": "./dist/webglplot.esm.js" | ||
} | ||
}, | ||
"keywords": [ | ||
"webgl", | ||
"plot", | ||
"performance" | ||
], | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.3.0", | ||
"@typescript-eslint/parser": "^4.3.0", | ||
"eslint": "^7.10.0", | ||
"rollup": "^2.28.2", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"eslint": "^7.13.0", | ||
"rollup": "^2.33.1", | ||
"typedoc": "^0.19.2", | ||
"typedoc-plugin-markdown": "^3.0.5", | ||
"typescript": "^4.0.3" | ||
"typedoc-plugin-markdown": "^3.0.11", | ||
"typescript": "^4.0.5" | ||
}, | ||
"scripts": { | ||
"build": "tsc && rollup -c", | ||
"doc": "typedoc", | ||
"sdk": "yarn dlx @yarnpkg/pnpify --sdk vscode" | ||
"doc": "typedoc" | ||
}, | ||
@@ -35,0 +23,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -10,3 +10,2 @@ | ||
public visible: boolean; | ||
public coord: number; | ||
public offsetTheta: number; | ||
@@ -13,0 +12,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ColorRGBA } from "./ColorRGBA"; | ||
import type { ColorRGBA } from "./ColorRGBA"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -3,0 +3,0 @@ |
@@ -97,3 +97,8 @@ import { ColorRGBA } from "./ColorRGBA"; | ||
this.intensity = 1; | ||
this.xy = new Float32Array([]); | ||
this.numPoints = 0; | ||
this.color = new ColorRGBA(0, 0, 0, 1); | ||
this.webglNumPoints = 0; | ||
} | ||
} |
@@ -13,3 +13,3 @@ /** | ||
import { WebglPolar } from "./WbglPolar"; | ||
import { WebglBaseLine } from "./WebglBaseLine"; | ||
import type { WebglBaseLine } from "./WebglBaseLine"; | ||
@@ -16,0 +16,0 @@ export { WebglLine, ColorRGBA, WebglStep, WebglPolar }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99003
2423
36