@pirireis/webglobeplugins 0.6.21 → 0.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,7 +83,7 @@ export class CircleLineChainPlugin {
83
83
  this.circleProgram2d = CircleCache.get(globe);
84
84
  this.circle3DProgram = Circle3DCache.get(globe);
85
85
 
86
- this.lineToTheOriginProgram = LineToTheOriginCache.get(globe);
86
+ // this.lineToTheOriginProgram = LineToTheOriginCache.get(globe);
87
87
  const _circleFlatEdgeCount = this._circleFlatEdgeCount;
88
88
  {
89
89
  // createBuffers
@@ -174,8 +174,8 @@ export class CircleLineChainPlugin {
174
174
  ...['centerCoords2d', 'centerCoords3d', 'targetCoords2d', 'targetCoords3d', 'dashRatio', 'dashOpacity', 'rgba'].map(key => obj(this.bufferManagersCompMap.get(key))));
175
175
  this.circleVao2d = this.circleProgram2d.createVAO(
176
176
  ...["centerCoords2dMercator", "rgbaCircleMercator", "circleDashAngleMercator", "dashOpacityMercator"].map(key => obj(this.bufferManagersCompMap.get(key))));
177
- this.toOriginVao = this.lineToTheOriginProgram.createVAO(
178
- ...["targetCoords3d", "rgba"].map(key => obj(this.bufferManagersCompMap.get(key))));
177
+ // this.toOriginVao = this.lineToTheOriginProgram.createVAO(
178
+ // ...["targetCoords3d", "rgba"].map(key => obj(this.bufferManagersCompMap.get(key))));
179
179
  this.circle3DVao = this.circle3DProgram.createVAO(
180
180
  ...["centerCoords3d", "bigRadius", "rgbaCircle", "circleDashAngle", "dashOpacity"].map(key => obj(this.bufferManagersCompMap.get(key)))
181
181
  );
@@ -426,7 +426,7 @@ export class CircleLineChainPlugin {
426
426
  const { gl } = this;
427
427
  gl.deleteVertexArray(this.lineVao);
428
428
  gl.deleteVertexArray(this.circleVao2d);
429
- gl.deleteVertexArray(this.toOriginVao);
429
+ // gl.deleteVertexArray(this.toOriginVao);
430
430
  this.lineProgram = null;
431
431
  this.circleProgram2d = null;
432
432
  this.isFreed = true;
@@ -437,7 +437,7 @@ export class CircleLineChainPlugin {
437
437
  gl.disable(gl.DEPTH_TEST);
438
438
  this.lineProgram.draw(this.lineVao, this.bufferOrchestrator.length, this._opacity);
439
439
  this._textContextWriterInjectionMap.forEach((writer) => writer.draw());
440
- this.lineToTheOriginProgram.draw(this.toOriginVao, this.bufferOrchestrator.length, this._opacity);
440
+ // this.lineToTheOriginProgram.draw(this.toOriginVao, this.bufferOrchestrator.length, this._opacity);
441
441
  const is3D = globe.api_GetCurrentGeometry() === 0;
442
442
  if (this._drawCircleOn) {
443
443
  if (is3D) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "0.6.21",
3
+ "version": "0.6.22",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT"